public class DelimiterSet extends DelimiterSet
DelimiterSet| Modifier and Type | Field and Description |
|---|---|
static DelimiterSet |
DEFAULT_DELIMITERS
Deprecated.
|
static DelimiterSet |
HIVE_DELIMITERS
Deprecated.
|
static DelimiterSet |
MYSQL_DELIMITERS
Deprecated.
|
static char |
NULL_CHAR
Deprecated.
|
INPUT_ENCLOSE_REQUIRED_KEY, INPUT_ENCLOSED_BY_KEY, INPUT_ESCAPED_BY_KEY, INPUT_FIELD_DELIM_KEY, INPUT_RECORD_DELIM_KEY, OUTPUT_ENCLOSE_REQUIRED_KEY, OUTPUT_ENCLOSED_BY_KEY, OUTPUT_ESCAPED_BY_KEY, OUTPUT_FIELD_DELIM_KEY, OUTPUT_RECORD_DELIM_KEY| Constructor and Description |
|---|
DelimiterSet()
Deprecated.
Create a delimiter set with the default delimiters
(comma for fields, newline for records).
|
DelimiterSet(char field,
char record,
char enclose,
char escape,
boolean isEncloseRequired)
Deprecated.
Create a delimiter set with the specified delimiters.
|
| Modifier and Type | Method and Description |
|---|---|
DelimiterSet |
copy()
Deprecated.
Identical to clone() but does not throw spurious exceptions.
|
clone, equals, formatConstructor, getEnclosedBy, getEscapedBy, getFieldsTerminatedBy, getLinesTerminatedBy, hashCode, isEncloseRequired, setEnclosedBy, setEncloseRequired, setEscapedBy, setFieldsTerminatedBy, setLinesTerminatedBy, toStringpublic static final char NULL_CHAR
public static final DelimiterSet DEFAULT_DELIMITERS
public static final DelimiterSet HIVE_DELIMITERS
public static final DelimiterSet MYSQL_DELIMITERS
public DelimiterSet()
public DelimiterSet(char field,
char record,
char enclose,
char escape,
boolean isEncloseRequired)
field - the fields-terminated-by delimiterrecord - the lines-terminated-by delimiterenclose - the enclosed-by characterescape - the escaped-by characterisEncloseRequired - If true, enclosed-by is applied to all
fields. If false, only applied to fields that embed delimiters.public DelimiterSet copy()
copy in class DelimiterSetCopyright © 2014 The Apache Software Foundation