Modifier and Type | Field and Description |
---|---|
static DelimiterSet |
DelimiterSet.DEFAULT_DELIMITERS |
static DelimiterSet |
DelimiterSet.HIVE_DELIMITERS |
static DelimiterSet |
DelimiterSet.MYSQL_DELIMITERS |
Modifier and Type | Method and Description |
---|---|
DelimiterSet |
DelimiterSet.copy()
Identical to clone() but does not throw spurious exceptions.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
FieldFormatter.escapeAndEnclose(java.lang.String str,
DelimiterSet delimiters)
Takes an input string representing the value of a field, encloses it in
enclosing chars, and escapes any occurrences of such characters in the
middle.
|
static java.lang.String |
FieldFormatter.hiveStringDropDelims(java.lang.String str,
DelimiterSet delimiters)
This drops all default Hive delimiters from the string and passes it on.
|
static java.lang.String |
FieldFormatter.hiveStringReplaceDelims(java.lang.String str,
java.lang.String replacement,
DelimiterSet delimiters)
replace hive delimiters with a user-defined string passed to the
--hive-delims-replacement option.
|
abstract java.lang.String |
SqoopRecord.toString(DelimiterSet delimiters)
Format output data according to the specified delimiters.
|
java.lang.String |
SqoopRecord.toString(DelimiterSet delimiters,
boolean useRecordDelim)
Format the record according to the specified delimiters.
|
Constructor and Description |
---|
RecordParser(DelimiterSet delimitersIn) |
Copyright © 2019 The Apache Software Foundation