This project has retired. For details please refer to its
Attic page .
LargeObjectLoader (Sqoop 1.4.0-incubating API)
com.cloudera.sqoop.lib
Class LargeObjectLoader
java.lang.Object
org.apache.sqoop.lib.LargeObjectLoader
com.cloudera.sqoop.lib.LargeObjectLoader
All Implemented Interfaces: java.io.Closeable
Deprecated. use org.apache.sqoop.lib.LargeObjectLoader instead.
public class LargeObjectLoader extends LargeObjectLoader
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. This supports null values
for all types.
This is a singleton instance class; only one may exist at a time.
However, its lifetime is limited to the current TaskInputOutputContext's
life.
See Also: LargeObjectLoader
Constructor Summary
LargeObjectLoader (org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path workPath)
Deprecated. Create a new LargeObjectLoader.
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
DEFAULT_MAX_LOB_LENGTH
public static final long DEFAULT_MAX_LOB_LENGTH
Deprecated.
See Also: Constant Field Values
MAX_INLINE_LOB_LEN_KEY
public static final java.lang.String MAX_INLINE_LOB_LEN_KEY
Deprecated.
See Also: Constant Field Values
LargeObjectLoader
public LargeObjectLoader (org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path workPath)
throws java.io.IOException
Deprecated. Create a new LargeObjectLoader.
Parameters: conf
- the Configuration to useworkPath
- the HDFS working directory for this task.
Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation