public static interface CsvClassifier.Builder extends SdkPojo, CopyableBuilder<CsvClassifier.Builder,CsvClassifier>
| Modifier and Type | Method and Description |
|---|---|
CsvClassifier.Builder |
allowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
|
CsvClassifier.Builder |
containsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
|
CsvClassifier.Builder |
containsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
|
CsvClassifier.Builder |
creationTime(Instant creationTime)
The time that this classifier was registered.
|
CsvClassifier.Builder |
customDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the custom datatype to be configured.
|
CsvClassifier.Builder |
customDatatypes(Collection<String> customDatatypes)
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT",
"LONG", "SHORT", "STRING", "TIMESTAMP".
|
CsvClassifier.Builder |
customDatatypes(String... customDatatypes)
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT",
"LONG", "SHORT", "STRING", "TIMESTAMP".
|
CsvClassifier.Builder |
delimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
|
CsvClassifier.Builder |
disableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values.
|
CsvClassifier.Builder |
header(Collection<String> header)
A list of strings representing column names.
|
CsvClassifier.Builder |
header(String... header)
A list of strings representing column names.
|
CsvClassifier.Builder |
lastUpdated(Instant lastUpdated)
The time that this classifier was last updated.
|
CsvClassifier.Builder |
name(String name)
The name of the classifier.
|
CsvClassifier.Builder |
quoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value.
|
CsvClassifier.Builder |
serde(CsvSerdeOption serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
CsvClassifier.Builder |
serde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog.
|
CsvClassifier.Builder |
version(Long version)
The version of this classifier.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCsvClassifier.Builder name(String name)
The name of the classifier.
name - The name of the classifier.CsvClassifier.Builder creationTime(Instant creationTime)
The time that this classifier was registered.
creationTime - The time that this classifier was registered.CsvClassifier.Builder lastUpdated(Instant lastUpdated)
The time that this classifier was last updated.
lastUpdated - The time that this classifier was last updated.CsvClassifier.Builder version(Long version)
The version of this classifier.
version - The version of this classifier.CsvClassifier.Builder delimiter(String delimiter)
A custom symbol to denote what separates each column entry in the row.
delimiter - A custom symbol to denote what separates each column entry in the row.CsvClassifier.Builder quoteSymbol(String quoteSymbol)
A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.
quoteSymbol - A custom symbol to denote what combines content into a single column value. It must be different from
the column delimiter.CsvClassifier.Builder containsHeader(String containsHeader)
Indicates whether the CSV file contains a header.
containsHeader - Indicates whether the CSV file contains a header.CsvHeaderOption,
CsvHeaderOptionCsvClassifier.Builder containsHeader(CsvHeaderOption containsHeader)
Indicates whether the CSV file contains a header.
containsHeader - Indicates whether the CSV file contains a header.CsvHeaderOption,
CsvHeaderOptionCsvClassifier.Builder header(Collection<String> header)
A list of strings representing column names.
header - A list of strings representing column names.CsvClassifier.Builder header(String... header)
A list of strings representing column names.
header - A list of strings representing column names.CsvClassifier.Builder disableValueTrimming(Boolean disableValueTrimming)
Specifies not to trim values before identifying the type of column values. The default value is
true.
disableValueTrimming - Specifies not to trim values before identifying the type of column values. The default value is
true.CsvClassifier.Builder allowSingleColumn(Boolean allowSingleColumn)
Enables the processing of files that contain only one column.
allowSingleColumn - Enables the processing of files that contain only one column.CsvClassifier.Builder customDatatypeConfigured(Boolean customDatatypeConfigured)
Enables the custom datatype to be configured.
customDatatypeConfigured - Enables the custom datatype to be configured.CsvClassifier.Builder customDatatypes(Collection<String> customDatatypes)
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".
customDatatypes - A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT",
"LONG", "SHORT", "STRING", "TIMESTAMP".CsvClassifier.Builder customDatatypes(String... customDatatypes)
A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".
customDatatypes - A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT",
"LONG", "SHORT", "STRING", "TIMESTAMP".CsvClassifier.Builder serde(String serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values
are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid
values are OpenCSVSerDe, LazySimpleSerDe, and None. You can
specify the None value when you want the crawler to do the detection.CsvSerdeOption,
CsvSerdeOptionCsvClassifier.Builder serde(CsvSerdeOption serde)
Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values
are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the
None value when you want the crawler to do the detection.
serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid
values are OpenCSVSerDe, LazySimpleSerDe, and None. You can
specify the None value when you want the crawler to do the detection.CsvSerdeOption,
CsvSerdeOptionCopyright © 2023. All rights reserved.