public class DelimitedRowFormatInfo extends Object implements RowFormatInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
DelimitedRowFormatInfo.Builder
A builder for
DelimitedRowFormatInfo. |
RowFormatInfo.FormatKind| Constructor and Description |
|---|
DelimitedRowFormatInfo(String lineSeparator,
String fieldSeparator,
String fieldSeparatorEscape,
String collectionItemSeparator,
String mapPairSeparator,
String nullSymbol)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCollectionItemSeparator()
Returns the collection items terminator character.
|
String |
getFieldSeparator()
Returns the field separator character.
|
String |
getFieldSeparatorEscape()
Returns the escape character for the field separator.
|
RowFormatInfo.FormatKind |
getFormatKind()
Returns the row format kind.
|
String |
getLineSeparator()
Returns the line separator character.
|
String |
getMapPairSeparator()
Returns the map key terminator character.
|
String |
getNullSymbol()
Returns the
null character. |
int |
hashCode() |
String |
toString() |
public DelimitedRowFormatInfo(String lineSeparator, String fieldSeparator, String fieldSeparatorEscape, String collectionItemSeparator, String mapPairSeparator, String nullSymbol)
lineSeparator - the line separator characterfieldSeparator - the field separator characterfieldSeparatorEscape - the escape character (for field separators)collectionItemSeparator - the collection item separator charactermapPairSeparator - the map key-value separator characternullSymbol - the null symbol characterpublic RowFormatInfo.FormatKind getFormatKind()
RowFormatInfogetFormatKind in interface RowFormatInfopublic String getLineSeparator()
null if it is specifiedpublic String getFieldSeparator()
null if it is specifiedpublic String getFieldSeparatorEscape()
null if it is specifiedpublic String getCollectionItemSeparator()
null if it is specifiedpublic String getMapPairSeparator()
null if it is specifiedpublic String getNullSymbol()
null character.null character, or null if it is specifiedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.