A B C D E F G H I J L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(FieldMappable) - Method in interface org.apache.sqoop.lib.FieldMapProcessor
-
Allow arbitrary processing of a FieldMappable object.
B
- BigDecimalSerializer - Class in org.apache.sqoop.lib
-
Serialize BigDecimal classes to/from DataInput and DataOutput objects.
- BlobRef - Class in org.apache.sqoop.lib
-
BlobRef is a wrapper that holds a BLOB either directly, or a reference to a file that holds the BLOB data.
- BlobRef() - Constructor for class org.apache.sqoop.lib.BlobRef
- BlobRef(byte[]) - Constructor for class org.apache.sqoop.lib.BlobRef
- BlobRef(String, long, long) - Constructor for class org.apache.sqoop.lib.BlobRef
-
Initialize a BlobRef to an external BLOB.
- BooleanParser - Class in org.apache.sqoop.lib
-
Parse string representations of boolean values into boolean scalar types.
C
- ClobRef - Class in org.apache.sqoop.lib
-
ClobRef is a wrapper that holds a CLOB either directly, or a reference to a file that holds the CLOB data.
- ClobRef() - Constructor for class org.apache.sqoop.lib.ClobRef
- ClobRef(String) - Constructor for class org.apache.sqoop.lib.ClobRef
- ClobRef(String, long, long) - Constructor for class org.apache.sqoop.lib.ClobRef
-
Initialize a clobref to an external CLOB.
- clone() - Method in class org.apache.sqoop.lib.DelimiterSet
- clone() - Method in class org.apache.sqoop.lib.LobRef
- clone() - Method in class org.apache.sqoop.lib.SqoopRecord
- close() - Method in class org.apache.sqoop.lib.LargeObjectLoader
- close() - Method in class org.apache.sqoop.lib.LobRef
- copy() - Method in class org.apache.sqoop.lib.DelimiterSet
-
Identical to clone() but does not throw spurious exceptions.
D
- deepCopyData(CONTAINERTYPE) - Method in class org.apache.sqoop.lib.LobRef
-
Make a copy of the materialized data.
- deepCopyData(String) - Method in class org.apache.sqoop.lib.ClobRef
- deepCopyData(BytesWritable) - Method in class org.apache.sqoop.lib.BlobRef
- DEFAULT_DELIMITERS - Static variable in class org.apache.sqoop.lib.DelimiterSet
- DEFAULT_MAX_LOB_LENGTH - Static variable in class org.apache.sqoop.lib.LargeObjectLoader
- delegate(FieldMapProcessor) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Use the delegate pattern to allow arbitrary processing of the fields of this record.
- DelimiterSet - Class in org.apache.sqoop.lib
-
Encapsulates a set of delimiters used to encode a record.
- DelimiterSet() - Constructor for class org.apache.sqoop.lib.DelimiterSet
-
Create a delimiter set with the default delimiters (comma for fields, newline for records).
- DelimiterSet(char, char, char, char, boolean) - Constructor for class org.apache.sqoop.lib.DelimiterSet
-
Create a delimiter set with the specified delimiters.
E
- equals(Object) - Method in class org.apache.sqoop.lib.DelimiterSet
- escapeAndEnclose(String, DelimiterSet) - Static method in class org.apache.sqoop.lib.FieldFormatter
-
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.
- EXTERNAL_MATCHER - Static variable in class org.apache.sqoop.lib.LobRef
F
- FieldFormatter - Class in org.apache.sqoop.lib
-
Static helper class that will help format data with quotes and escape chars.
- FieldMappable - Interface in org.apache.sqoop.lib
-
Interface describing a class capable of returning a map of the fields of the object to their values.
- FieldMapProcessor - Interface in org.apache.sqoop.lib
-
Interface implemented by classes that process FieldMappable objects.
- finalize() - Method in class org.apache.sqoop.lib.LargeObjectLoader
- finalize() - Method in class org.apache.sqoop.lib.LobRef
- formatConstructor() - Method in class org.apache.sqoop.lib.DelimiterSet
-
Format this set of delimiters as a call to the constructor for this object, that would generate identical delimiters.
G
- getClassFormatVersion() - Method in class org.apache.sqoop.lib.SqoopRecord
-
Returns an integer specifying which API format version the generated class conforms to.
- getData() - Method in class org.apache.sqoop.lib.LobRef
- getDataObj() - Method in class org.apache.sqoop.lib.LobRef
-
Internal API to retrieve the data object.
- getDataStream(Configuration, Path) - Method in class org.apache.sqoop.lib.LobRef
-
Get access to the LOB data itself.
- getDataStream(Mapper.Context) - Method in class org.apache.sqoop.lib.LobRef
-
Convenience method to access #getDataStream(Configuration, Path) from within a map task that read this LobRef from a file-based InputSplit.
- getEnclosedBy() - Method in class org.apache.sqoop.lib.DelimiterSet
- getEscapedBy() - Method in class org.apache.sqoop.lib.DelimiterSet
- getExternalSource(LobFile.Reader) - Method in class org.apache.sqoop.lib.BlobRef
- getExternalSource(LobFile.Reader) - Method in class org.apache.sqoop.lib.ClobRef
- getExternalSource(LobFile.Reader) - Method in class org.apache.sqoop.lib.LobRef
-
Using the LobFile reader, get an accessor InputStream or Reader to the underlying data.
- getFieldMap() - Method in interface org.apache.sqoop.lib.FieldMappable
-
Returns a map containing all fields of this record.
- getFieldMap() - Method in class org.apache.sqoop.lib.SqoopRecord
- getFieldsTerminatedBy() - Method in class org.apache.sqoop.lib.DelimiterSet
- getInternalData(CONTAINERTYPE) - Method in class org.apache.sqoop.lib.LobRef
- getInternalData(String) - Method in class org.apache.sqoop.lib.ClobRef
- getInternalData(BytesWritable) - Method in class org.apache.sqoop.lib.BlobRef
- getInternalSource(CONTAINERTYPE) - Method in class org.apache.sqoop.lib.LobRef
-
Wrap the materialized data in an InputStream or Reader.
- getInternalSource(String) - Method in class org.apache.sqoop.lib.ClobRef
- getInternalSource(BytesWritable) - Method in class org.apache.sqoop.lib.BlobRef
- getLinesTerminatedBy() - Method in class org.apache.sqoop.lib.DelimiterSet
H
- hashCode() - Method in class org.apache.sqoop.lib.DelimiterSet
- hashCode() - Method in class org.apache.sqoop.lib.RecordParser
- HIVE_DELIMITERS - Static variable in class org.apache.sqoop.lib.DelimiterSet
- hiveStringDropDelims(String, DelimiterSet) - Static method in class org.apache.sqoop.lib.FieldFormatter
-
This drops all default Hive delimiters from the string and passes it on.
- hiveStringReplaceDelims(String, String, DelimiterSet) - Static method in class org.apache.sqoop.lib.FieldFormatter
-
replace hive delimiters with a user-defined string passed to the --hive-delims-replacement option.
I
- INPUT_ENCLOSE_REQUIRED_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- INPUT_ENCLOSED_BY_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- INPUT_ESCAPED_BY_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- INPUT_FIELD_DELIM_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
-
Create the input variations for export instead of overloading them.
- INPUT_RECORD_DELIM_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- isEncloseRequired() - Method in class org.apache.sqoop.lib.DelimiterSet
- isEnclosingRequired() - Method in class org.apache.sqoop.lib.RecordParser
- isExternal() - Method in class org.apache.sqoop.lib.LobRef
J
- JdbcWritableBridge - Class in org.apache.sqoop.lib
-
Contains a set of methods which can read db columns from a ResultSet into Java types, and do serialization of these types to/from DataInput/DataOutput for use with Hadoop's Writable implementation.
L
- LargeObjectLoader - Class in org.apache.sqoop.lib
-
Contains a set of methods which can read db columns from a ResultSet into Java types, and do serialization of these types to/from DataInput/DataOutput for use with Hadoop's Writable implementation.
- LargeObjectLoader(Configuration, Path) - Constructor for class org.apache.sqoop.lib.LargeObjectLoader
-
Create a new LargeObjectLoader.
- loadLargeObjects(LargeObjectLoader) - Method in class org.apache.sqoop.lib.SqoopRecord
- LobRef<DATATYPE,CONTAINERTYPE,ACCESSORTYPE> - Class in org.apache.sqoop.lib
-
Abstract base class that holds a reference to a Blob or a Clob.
- LobRef() - Constructor for class org.apache.sqoop.lib.LobRef
- LobRef(CONTAINERTYPE) - Constructor for class org.apache.sqoop.lib.LobRef
- LobRef(String, long, long) - Constructor for class org.apache.sqoop.lib.LobRef
- LobSerializer - Class in org.apache.sqoop.lib
-
Serialize LOB classes to/from DataInput and DataOutput objects.
- LOG - Static variable in class org.apache.sqoop.lib.BlobRef
- LOG - Static variable in class org.apache.sqoop.lib.LargeObjectLoader
- LOG - Static variable in class org.apache.sqoop.lib.LobRef
- LOG - Static variable in class org.apache.sqoop.lib.RecordParser
- LONG_MAX_AS_BIGINT - Static variable in class org.apache.sqoop.lib.BigDecimalSerializer
- LONG_MIN_AS_BIGINT - Static variable in class org.apache.sqoop.lib.BigDecimalSerializer
M
- MAX_BLOB_LENGTH - Static variable in class org.apache.sqoop.lib.JdbcWritableBridge
- MAX_CLOB_LENGTH - Static variable in class org.apache.sqoop.lib.JdbcWritableBridge
- MAX_INLINE_LOB_LEN_KEY - Static variable in class org.apache.sqoop.lib.LargeObjectLoader
- MYSQL_DELIMITERS - Static variable in class org.apache.sqoop.lib.DelimiterSet
N
- NULL_CHAR - Static variable in class org.apache.sqoop.lib.DelimiterSet
O
- org.apache.sqoop.lib - package org.apache.sqoop.lib
- OUTPUT_ENCLOSE_REQUIRED_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- OUTPUT_ENCLOSED_BY_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- OUTPUT_ESCAPED_BY_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- OUTPUT_FIELD_DELIM_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
- OUTPUT_RECORD_DELIM_KEY - Static variable in class org.apache.sqoop.lib.DelimiterSet
P
- parse(byte[]) - Method in class org.apache.sqoop.lib.SqoopRecord
- parse(char[]) - Method in class org.apache.sqoop.lib.SqoopRecord
- parse(CharSequence) - Method in class org.apache.sqoop.lib.SqoopRecord
- parse(String) - Static method in class org.apache.sqoop.lib.BlobRef
-
Create a BlobRef based on parsed data from a line of text.
- parse(String) - Static method in class org.apache.sqoop.lib.ClobRef
-
Create a ClobRef based on parsed data from a line of text.
- parse(ByteBuffer) - Method in class org.apache.sqoop.lib.SqoopRecord
- parse(CharBuffer) - Method in class org.apache.sqoop.lib.SqoopRecord
- parse(Text) - Method in class org.apache.sqoop.lib.SqoopRecord
- ParseError() - Constructor for exception org.apache.sqoop.lib.RecordParser.ParseError
- ParseError(String) - Constructor for exception org.apache.sqoop.lib.RecordParser.ParseError
- ParseError(String, Throwable) - Constructor for exception org.apache.sqoop.lib.RecordParser.ParseError
- ParseError(Throwable) - Constructor for exception org.apache.sqoop.lib.RecordParser.ParseError
- parseRecord(byte[]) - Method in class org.apache.sqoop.lib.RecordParser
-
Return a list of strings representing the fields of the input line.
- parseRecord(char[]) - Method in class org.apache.sqoop.lib.RecordParser
-
Return a list of strings representing the fields of the input line.
- parseRecord(CharSequence) - Method in class org.apache.sqoop.lib.RecordParser
-
Return a list of strings representing the fields of the input line.
- parseRecord(ByteBuffer) - Method in class org.apache.sqoop.lib.RecordParser
- parseRecord(CharBuffer) - Method in class org.apache.sqoop.lib.RecordParser
-
Return a list of strings representing the fields of the input line.
- parseRecord(Text) - Method in class org.apache.sqoop.lib.RecordParser
-
Return a list of strings representing the fields of the input line.
- ProcessingException - Exception in org.apache.sqoop.lib
-
General error during processing of a SqoopRecord.
- ProcessingException() - Constructor for exception org.apache.sqoop.lib.ProcessingException
- ProcessingException(String) - Constructor for exception org.apache.sqoop.lib.ProcessingException
- ProcessingException(String, Throwable) - Constructor for exception org.apache.sqoop.lib.ProcessingException
- ProcessingException(Throwable) - Constructor for exception org.apache.sqoop.lib.ProcessingException
R
- readBigDecimal(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readBlobFields(DataInput) - Static method in class org.apache.sqoop.lib.LobSerializer
- readBlobRef(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readBlobRef(int, ResultSet) - Method in class org.apache.sqoop.lib.LargeObjectLoader
-
Actually read a BlobRef instance from the ResultSet and materialize the data either inline or to a file.
- readBoolean(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readBytesWritable(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readClobFields(DataInput) - Static method in class org.apache.sqoop.lib.LobSerializer
- readClobRef(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readClobRef(int, ResultSet) - Method in class org.apache.sqoop.lib.LargeObjectLoader
-
Actually read a ClobRef instance from the ResultSet and materialize the data either inline or to a file.
- readDate(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readDouble(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readFields(DataInput) - Static method in class org.apache.sqoop.lib.BigDecimalSerializer
- readFields(DataInput) - Method in class org.apache.sqoop.lib.LobRef
- readFieldsInternal(DataInput) - Method in class org.apache.sqoop.lib.BlobRef
- readFieldsInternal(DataInput) - Method in class org.apache.sqoop.lib.ClobRef
- readFieldsInternal(DataInput) - Method in class org.apache.sqoop.lib.LobRef
-
Perform the readFields() operation on a fully-materializable record.
- readFloat(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readInteger(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readLong(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readString(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readTime(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- readTimestamp(int, ResultSet) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- RecordParser - Class in org.apache.sqoop.lib
-
Parses a record containing one or more fields.
- RecordParser(DelimiterSet) - Constructor for class org.apache.sqoop.lib.RecordParser
- RecordParser.ParseError - Exception in org.apache.sqoop.lib
-
An error thrown when parsing fails.
S
- setDataObj(CONTAINERTYPE) - Method in class org.apache.sqoop.lib.LobRef
-
Internal API to set the data object.
- setEnclosedBy(char) - Method in class org.apache.sqoop.lib.DelimiterSet
-
Sets the enclosed-by character.
- setEncloseRequired(boolean) - Method in class org.apache.sqoop.lib.DelimiterSet
-
Set whether the enclosed-by character must be applied to all fields, or only fields with embedded delimiters.
- setEscapedBy(char) - Method in class org.apache.sqoop.lib.DelimiterSet
-
Sets the escaped-by character.
- setField(String, Object) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Allows an arbitrary field to be set programmatically to the specified value object.
- setFieldsTerminatedBy(char) - Method in class org.apache.sqoop.lib.DelimiterSet
-
Sets the fields-terminated-by character.
- setLinesTerminatedBy(char) - Method in class org.apache.sqoop.lib.DelimiterSet
-
Sets the end-of-record lines-terminated-by character.
- SqoopRecord - Class in org.apache.sqoop.lib
-
Interface implemented by the classes generated by sqoop's orm.ClassWriter.
- SqoopRecord() - Constructor for class org.apache.sqoop.lib.SqoopRecord
T
- toString() - Method in class org.apache.sqoop.lib.DelimiterSet
- toString() - Method in class org.apache.sqoop.lib.LobRef
- toString() - Method in exception org.apache.sqoop.lib.ProcessingException
- toString() - Method in class org.apache.sqoop.lib.RecordParser
- toString(boolean) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Use the default delimiters, but only append an end-of-record delimiter if useRecordDelim is true.
- toString(DelimiterSet) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Format output data according to the specified delimiters.
- toString(DelimiterSet, boolean) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Format the record according to the specified delimiters.
V
- valueOf(String) - Static method in class org.apache.sqoop.lib.BooleanParser
-
Return a boolean based on the value contained in the string.
W
- write(DataOutput) - Method in class org.apache.sqoop.lib.LobRef
- write(BigDecimal, DataOutput) - Static method in class org.apache.sqoop.lib.BigDecimalSerializer
- write(PreparedStatement, int) - Method in class org.apache.sqoop.lib.SqoopRecord
-
Inserts the data in this object into the PreparedStatement, starting at parameter 'offset'.
- writeBigDecimal(BigDecimal, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeBlob(BlobRef, DataOutput) - Static method in class org.apache.sqoop.lib.LobSerializer
- writeBlobRef(BlobRef, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeBoolean(Boolean, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeBytesWritable(BytesWritable, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeClob(ClobRef, DataOutput) - Static method in class org.apache.sqoop.lib.LobSerializer
- writeClobRef(ClobRef, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeDate(Date, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeDouble(Double, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeFloat(Float, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeInteger(Integer, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeInternal(DataOutput) - Method in class org.apache.sqoop.lib.BlobRef
- writeInternal(DataOutput) - Method in class org.apache.sqoop.lib.ClobRef
- writeInternal(DataOutput) - Method in class org.apache.sqoop.lib.LobRef
-
Perform the write() operation on a fully-materializable record.
- writeLong(Long, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeString(String, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeTime(Time, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
- writeTimestamp(Timestamp, int, int, PreparedStatement) - Static method in class org.apache.sqoop.lib.JdbcWritableBridge
All Classes All Packages