interface CsvClassifierProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnClassifier.CsvClassifierProperty |
Java | software.amazon.awscdk.services.glue.CfnClassifier.CsvClassifierProperty |
Python | aws_cdk.aws_glue.CfnClassifier.CsvClassifierProperty |
TypeScript | @aws-cdk/aws-glue » CfnClassifier » CsvClassifierProperty |
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 * as glue from '@aws-cdk/aws-glue';
const csvClassifierProperty: glue.CfnClassifier.CsvClassifierProperty = {
allowSingleColumn: false,
containsHeader: 'containsHeader',
delimiter: 'delimiter',
disableValueTrimming: false,
header: ['header'],
name: 'name',
quoteSymbol: 'quoteSymbol',
};
Properties
Name | Type | Description |
---|---|---|
allow | boolean | IResolvable | Enables the processing of files that contain only one column. |
contains | string | Indicates whether the CSV file contains a header. |
delimiter? | string | A custom symbol to denote what separates each column entry in the row. |
disable | boolean | IResolvable | Specifies not to trim values before identifying the type of column values. |
header? | string[] | A list of strings representing column names. |
name? | string | The name of the classifier. |
quote | string | A custom symbol to denote what combines content into a single column value. |
allowSingleColumn?
Type:
boolean |
IResolvable
(optional)
Enables the processing of files that contain only one column.
containsHeader?
Type:
string
(optional)
Indicates whether the CSV file contains a header.
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.
delimiter?
Type:
string
(optional)
A custom symbol to denote what separates each column entry in the row.
disableValueTrimming?
Type:
boolean |
IResolvable
(optional)
Specifies not to trim values before identifying the type of column values.
The default value is true
.
header?
Type:
string[]
(optional)
A list of strings representing column names.
name?
Type:
string
(optional)
The name of the classifier.
quoteSymbol?
Type:
string
(optional)
A custom symbol to denote what combines content into a single column value.
It must be different from the column delimiter.