Interface CfnClassifier.ICsvClassifierProperty
A classifier for custom CSV
content.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICsvClassifierProperty
Syntax (vb)
Public Interface ICsvClassifierProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var csvClassifierProperty = new CsvClassifierProperty {
AllowSingleColumn = false,
ContainsCustomDatatype = new [] { "containsCustomDatatype" },
ContainsHeader = "containsHeader",
CustomDatatypeConfigured = false,
Delimiter = "delimiter",
DisableValueTrimming = false,
Header = new [] { "header" },
Name = "name",
QuoteSymbol = "quoteSymbol"
};
Synopsis
Properties
AllowSingleColumn | Enables the processing of files that contain only one column. |
ContainsCustomDatatype | Indicates whether the CSV file contains custom data types. |
ContainsHeader | Indicates whether the CSV file contains a header. |
CustomDatatypeConfigured | Enables the configuration of custom data types. |
Delimiter | A custom symbol to denote what separates each column entry in the row. |
DisableValueTrimming | Specifies not to trim values before identifying the type of column values. |
Header | A list of strings representing column names. |
Name | The name of the classifier. |
QuoteSymbol | A custom symbol to denote what combines content into a single column value. |
Properties
AllowSingleColumn
Enables the processing of files that contain only one column.
virtual object AllowSingleColumn { get; }
Property Value
System.Object
Remarks
ContainsCustomDatatype
Indicates whether the CSV file contains custom data types.
virtual string[] ContainsCustomDatatype { get; }
Property Value
System.String[]
Remarks
ContainsHeader
Indicates whether the CSV file contains a header.
virtual string ContainsHeader { get; }
Property Value
System.String
Remarks
A value of UNKNOWN
specifies that the classifier will detect whether the CSV file contains headings.
A value of PRESENT
specifies that the CSV file contains headings.
A value of ABSENT
specifies that the CSV file does not contain headings.
CustomDatatypeConfigured
Enables the configuration of custom data types.
virtual object CustomDatatypeConfigured { get; }
Property Value
System.Object
Remarks
Delimiter
A custom symbol to denote what separates each column entry in the row.
virtual string Delimiter { get; }
Property Value
System.String
Remarks
DisableValueTrimming
Specifies not to trim values before identifying the type of column values.
virtual object DisableValueTrimming { get; }
Property Value
System.Object
Remarks
Header
A list of strings representing column names.
virtual string[] Header { get; }
Property Value
System.String[]
Remarks
Name
The name of the classifier.
virtual string Name { get; }
Property Value
System.String
Remarks
QuoteSymbol
A custom symbol to denote what combines content into a single column value.
virtual string QuoteSymbol { get; }
Property Value
System.String
Remarks
It must be different from the column delimiter.