@PublicEvolving public static class CsvRowSerializationSchema.Builder extends Object
CsvRowSerializationSchema
.Constructor and Description |
---|
Builder(TypeInformation<Row> typeInfo)
Creates a
CsvRowSerializationSchema expecting the given TypeInformation . |
Modifier and Type | Method and Description |
---|---|
CsvRowSerializationSchema |
build() |
CsvRowSerializationSchema.Builder |
setArrayElementDelimiter(String delimiter) |
CsvRowSerializationSchema.Builder |
setEscapeCharacter(char c) |
CsvRowSerializationSchema.Builder |
setFieldDelimiter(char c) |
CsvRowSerializationSchema.Builder |
setLineDelimiter(String delimiter) |
CsvRowSerializationSchema.Builder |
setNullLiteral(String s) |
CsvRowSerializationSchema.Builder |
setQuoteCharacter(char c) |
public Builder(TypeInformation<Row> typeInfo)
CsvRowSerializationSchema
expecting the given TypeInformation
.typeInfo
- type information used to create schema.public CsvRowSerializationSchema.Builder setFieldDelimiter(char c)
public CsvRowSerializationSchema.Builder setLineDelimiter(String delimiter)
public CsvRowSerializationSchema.Builder setArrayElementDelimiter(String delimiter)
public CsvRowSerializationSchema.Builder setQuoteCharacter(char c)
public CsvRowSerializationSchema.Builder setEscapeCharacter(char c)
public CsvRowSerializationSchema.Builder setNullLiteral(String s)
public CsvRowSerializationSchema build()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.