Package | Description |
---|---|
com.cloudera.sqoop.lib | |
org.apache.sqoop.lib |
Modifier and Type | Field and Description |
---|---|
static DelimiterSet |
DelimiterSet.DEFAULT_DELIMITERS
Deprecated.
|
static DelimiterSet |
DelimiterSet.HIVE_DELIMITERS
Deprecated.
|
static DelimiterSet |
DelimiterSet.MYSQL_DELIMITERS
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DelimiterSet |
DelimiterSet.copy()
Deprecated.
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)
Deprecated.
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)
Deprecated.
only pass fields that are strings when --hive-drop-delims option is on.
|
static java.lang.String |
FieldFormatter.hiveStringReplaceDelims(java.lang.String str,
java.lang.String replacement,
DelimiterSet delimiters)
Deprecated.
replace hive delimiters with a user-defined string passed to the
--hive-delims-replacement option.
|
Constructor and Description |
---|
RecordParser(DelimiterSet delimitersIn)
Deprecated.
|
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 © 2015 The Apache Software Foundation