@Internal public static class CsvRowDataDeserializationSchema.Builder extends Object
CsvRowDataDeserializationSchema
.Constructor and Description |
---|
Builder(RowType rowType,
TypeInformation<RowData> resultTypeInfo)
Creates a CSV deserialization schema for the given
TypeInformation with optional
parameters. |
Modifier and Type | Method and Description |
---|---|
CsvRowDataDeserializationSchema |
build() |
CsvRowDataDeserializationSchema.Builder |
setAllowComments(boolean allowComments) |
CsvRowDataDeserializationSchema.Builder |
setArrayElementDelimiter(String delimiter) |
CsvRowDataDeserializationSchema.Builder |
setEscapeCharacter(char c) |
CsvRowDataDeserializationSchema.Builder |
setFieldDelimiter(char delimiter) |
CsvRowDataDeserializationSchema.Builder |
setIgnoreParseErrors(boolean ignoreParseErrors) |
CsvRowDataDeserializationSchema.Builder |
setNullLiteral(String nullLiteral) |
CsvRowDataDeserializationSchema.Builder |
setQuoteCharacter(char c) |
public Builder(RowType rowType, TypeInformation<RowData> resultTypeInfo)
TypeInformation
with optional
parameters.public CsvRowDataDeserializationSchema.Builder setFieldDelimiter(char delimiter)
public CsvRowDataDeserializationSchema.Builder setAllowComments(boolean allowComments)
public CsvRowDataDeserializationSchema.Builder setArrayElementDelimiter(String delimiter)
public CsvRowDataDeserializationSchema.Builder setQuoteCharacter(char c)
public CsvRowDataDeserializationSchema.Builder setEscapeCharacter(char c)
public CsvRowDataDeserializationSchema.Builder setNullLiteral(String nullLiteral)
public CsvRowDataDeserializationSchema.Builder setIgnoreParseErrors(boolean ignoreParseErrors)
public CsvRowDataDeserializationSchema build()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.