Interface CfnClassifier.CsvClassifierProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClassifier.CsvClassifierProperty.Jsii$Proxy
- Enclosing class:
CfnClassifier
@Stability(Stable)
public static interface CfnClassifier.CsvClassifierProperty
extends software.amazon.jsii.JsiiSerializable
A classifier for custom
CSV content.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
CsvClassifierProperty csvClassifierProperty = CsvClassifierProperty.builder()
.allowSingleColumn(false)
.containsCustomDatatype(List.of("containsCustomDatatype"))
.containsHeader("containsHeader")
.customDatatypeConfigured(false)
.delimiter("delimiter")
.disableValueTrimming(false)
.header(List.of("header"))
.name("name")
.quoteSymbol("quoteSymbol")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClassifier.CsvClassifierPropertystatic final classAn implementation forCfnClassifier.CsvClassifierProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectEnables the processing of files that contain only one column.Indicates whether the CSV file contains custom data types.default StringIndicates whether the CSV file contains a header.default ObjectEnables the configuration of custom data types.default StringA custom symbol to denote what separates each column entry in the row.default ObjectSpecifies not to trim values before identifying the type of column values.A list of strings representing column names.default StringgetName()The name of the classifier.default StringA custom symbol to denote what combines content into a single column value.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowSingleColumn
Enables the processing of files that contain only one column.Returns union: either
BooleanorIResolvable- See Also:
-
getContainsCustomDatatype
Indicates whether the CSV file contains custom data types.- See Also:
-
getContainsHeader
Indicates whether the CSV file contains a header.A value of
UNKNOWNspecifies that the classifier will detect whether the CSV file contains headings.A value of
PRESENTspecifies that the CSV file contains headings.A value of
ABSENTspecifies that the CSV file does not contain headings.- See Also:
-
getCustomDatatypeConfigured
Enables the configuration of custom data types.Returns union: either
BooleanorIResolvable- See Also:
-
getDelimiter
A custom symbol to denote what separates each column entry in the row.- See Also:
-
getDisableValueTrimming
Specifies not to trim values before identifying the type of column values.The default value is
true.Returns union: either
BooleanorIResolvable- See Also:
-
getHeader
A list of strings representing column names.- See Also:
-
getName
The name of the classifier.- See Also:
-
getQuoteSymbol
A custom symbol to denote what combines content into a single column value.It must be different from the column delimiter.
- See Also:
-
builder
-