Package org.apache.flink.formats.csv
Class CsvRowDataSerializationSchema.Builder
java.lang.Object
org.apache.flink.formats.csv.CsvRowDataSerializationSchema.Builder
- Enclosing class:
- CsvRowDataSerializationSchema
A builder for creating a
CsvRowDataSerializationSchema.-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(org.apache.flink.table.types.logical.RowType rowType) Creates aCsvRowDataSerializationSchemaexpecting the givenRowType. -
Method Summary
Modifier and TypeMethodDescriptionbuild()setArrayElementDelimiter(String delimiter) setEscapeCharacter(char c) setFieldDelimiter(char c) setQuoteCharacter(char c) voidsetWriteBigDecimalInScientificNotation(boolean isScientificNotation)
-
Constructor Details
-
Builder
public Builder(org.apache.flink.table.types.logical.RowType rowType) Creates aCsvRowDataSerializationSchemaexpecting the givenRowType.- Parameters:
rowType- logical row type used to create schema.
-
-
Method Details
-
setFieldDelimiter
-
setArrayElementDelimiter
-
disableQuoteCharacter
-
setQuoteCharacter
-
setEscapeCharacter
-
setNullLiteral
-
setWriteBigDecimalInScientificNotation
public void setWriteBigDecimalInScientificNotation(boolean isScientificNotation) -
build
-