Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldFormatter.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldFormatter.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldFormatter.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldFormatter.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,300 @@ + + + + + + +FieldFormatter (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.cloudera.sqoop.lib +
+Class FieldFormatter

+
+java.lang.Object
+  extended by com.cloudera.sqoop.lib.FieldFormatter
+
+
+Deprecated. use org.apache.sqoop.lib.FieldFormatter instead. +

+

+
public final class FieldFormatter
extends java.lang.Object
+ + +

+Static helper class that will help format data with quotes and escape chars. +

+ +

+

+
See Also:
FieldFormatter
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringescapeAndEnclose(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.StringhiveStringDropDelims(java.lang.String str, + DelimiterSet delimiters) + +
+          Deprecated. only pass fields that are strings when --hive-drop-delims option is on.
+static java.lang.StringhiveStringReplaceDelims(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.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+hiveStringDropDelims

+
+public static java.lang.String hiveStringDropDelims(java.lang.String str,
+                                                    DelimiterSet delimiters)
+
+
Deprecated. 
only pass fields that are strings when --hive-drop-delims option is on. +

+

+
Parameters:
str -
delimiters - +
Returns:
+
+
+
+ +

+hiveStringReplaceDelims

+
+public static java.lang.String 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. +

+

+
Parameters:
str -
delimiters - +
Returns:
+
+
+
+ +

+escapeAndEnclose

+
+public static java.lang.String 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. The escape character itself is also escaped if it appears in the + text of the field. If there is no enclosing character, then any + delimiters present in the field body are escaped instead. + + The field is enclosed only if: + enclose != '\000', and: + encloseRequired is true, or + one of the fields-terminated-by or lines-terminated-by characters is + present in the string. + + Escaping is not performed if the escape char is '\000'. +

+

+
Parameters:
str - - The user's string to escape and enclose
delimiters - - The DelimiterSet to use identifying the escape and + enclose semantics. If the specified escape or enclose characters are + '\000', those operations are not performed. +
Returns:
the escaped, enclosed version of 'str'.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMapProcessor.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMapProcessor.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMapProcessor.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMapProcessor.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,198 @@ + + + + + + +FieldMapProcessor (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.cloudera.sqoop.lib +
+Interface FieldMapProcessor

+
+
All Superinterfaces:
FieldMapProcessor
+
+
+Deprecated. use org.apache.sqoop.lib.FieldMapProcessor instead. +

+

+
public interface FieldMapProcessor
extends FieldMapProcessor
+ + +

+Interface implemented by classes that process FieldMappable objects. +

+ +

+

+
See Also:
FieldMapProcessor
+
+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface org.apache.sqoop.lib.FieldMapProcessor
accept
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMappable.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMappable.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMappable.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/FieldMappable.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,199 @@ + + + + + + +FieldMappable (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.cloudera.sqoop.lib +
+Interface FieldMappable

+
+
All Superinterfaces:
FieldMappable
+
+
+Deprecated. use org.apache.sqoop.lib.FieldMappable instead. +

+

+
public interface FieldMappable
extends FieldMappable
+ + +

+Interface describing a class capable of returning a map of the fields + of the object to their values. +

+ +

+

+
See Also:
FieldMappable
+
+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface org.apache.sqoop.lib.FieldMappable
getFieldMap
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/JdbcWritableBridge.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/JdbcWritableBridge.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/JdbcWritableBridge.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/JdbcWritableBridge.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,941 @@ + + + + + + +JdbcWritableBridge (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.cloudera.sqoop.lib +
+Class JdbcWritableBridge

+
+java.lang.Object
+  extended by com.cloudera.sqoop.lib.JdbcWritableBridge
+
+
+Deprecated. use org.apache.sqoop.lib.JdbcWritableBridge instead. +

+

+
public final class JdbcWritableBridge
extends java.lang.Object
+ + +

+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. +

+ +

+

+
See Also:
JdbcWritableBridge
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static longMAX_BLOB_LENGTH + +
+          Deprecated.  
+static longMAX_CLOB_LENGTH + +
+          Deprecated.  
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.math.BigDecimalreadBigDecimal(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static BlobRefreadBlobRef(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.BooleanreadBoolean(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static org.apache.hadoop.io.BytesWritablereadBytesWritable(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static ClobRefreadClobRef(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.sql.DatereadDate(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.DoublereadDouble(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.FloatreadFloat(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.IntegerreadInteger(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.LongreadLong(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.lang.StringreadString(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.sql.TimereadTime(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static java.sql.TimestampreadTimestamp(int colNum, + java.sql.ResultSet r) + +
+          Deprecated.  
+static voidwriteBigDecimal(java.math.BigDecimal val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteBlobRef(BlobRef val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteBoolean(java.lang.Boolean val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteBytesWritable(org.apache.hadoop.io.BytesWritable val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteClobRef(ClobRef val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteDate(java.sql.Date val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteDouble(java.lang.Double val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteFloat(java.lang.Float val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteInteger(java.lang.Integer val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteLong(java.lang.Long val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteString(java.lang.String val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteTime(java.sql.Time val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+static voidwriteTimestamp(java.sql.Timestamp val, + int paramIdx, + int sqlType, + java.sql.PreparedStatement s) + +
+          Deprecated.  
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAX_BLOB_LENGTH

+
+public static final long MAX_BLOB_LENGTH
+
+
Deprecated. 
+
See Also:
Constant Field Values
+
+
+ +

+MAX_CLOB_LENGTH

+
+public static final long MAX_CLOB_LENGTH
+
+
Deprecated. 
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+readInteger

+
+public static java.lang.Integer readInteger(int colNum,
+                                            java.sql.ResultSet r)
+                                     throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readLong

+
+public static java.lang.Long readLong(int colNum,
+                                      java.sql.ResultSet r)
+                               throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readString

+
+public static java.lang.String readString(int colNum,
+                                          java.sql.ResultSet r)
+                                   throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readFloat

+
+public static java.lang.Float readFloat(int colNum,
+                                        java.sql.ResultSet r)
+                                 throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readDouble

+
+public static java.lang.Double readDouble(int colNum,
+                                          java.sql.ResultSet r)
+                                   throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readBoolean

+
+public static java.lang.Boolean readBoolean(int colNum,
+                                            java.sql.ResultSet r)
+                                     throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readTime

+
+public static java.sql.Time readTime(int colNum,
+                                     java.sql.ResultSet r)
+                              throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readTimestamp

+
+public static java.sql.Timestamp readTimestamp(int colNum,
+                                               java.sql.ResultSet r)
+                                        throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readDate

+
+public static java.sql.Date readDate(int colNum,
+                                     java.sql.ResultSet r)
+                              throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readBytesWritable

+
+public static org.apache.hadoop.io.BytesWritable readBytesWritable(int colNum,
+                                                                   java.sql.ResultSet r)
+                                                            throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readBigDecimal

+
+public static java.math.BigDecimal readBigDecimal(int colNum,
+                                                  java.sql.ResultSet r)
+                                           throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readBlobRef

+
+public static BlobRef readBlobRef(int colNum,
+                                  java.sql.ResultSet r)
+                           throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+readClobRef

+
+public static ClobRef readClobRef(int colNum,
+                                  java.sql.ResultSet r)
+                           throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeInteger

+
+public static void writeInteger(java.lang.Integer val,
+                                int paramIdx,
+                                int sqlType,
+                                java.sql.PreparedStatement s)
+                         throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeLong

+
+public static void writeLong(java.lang.Long val,
+                             int paramIdx,
+                             int sqlType,
+                             java.sql.PreparedStatement s)
+                      throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeDouble

+
+public static void writeDouble(java.lang.Double val,
+                               int paramIdx,
+                               int sqlType,
+                               java.sql.PreparedStatement s)
+                        throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeBoolean

+
+public static void writeBoolean(java.lang.Boolean val,
+                                int paramIdx,
+                                int sqlType,
+                                java.sql.PreparedStatement s)
+                         throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeFloat

+
+public static void writeFloat(java.lang.Float val,
+                              int paramIdx,
+                              int sqlType,
+                              java.sql.PreparedStatement s)
+                       throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeString

+
+public static void writeString(java.lang.String val,
+                               int paramIdx,
+                               int sqlType,
+                               java.sql.PreparedStatement s)
+                        throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeTimestamp

+
+public static void writeTimestamp(java.sql.Timestamp val,
+                                  int paramIdx,
+                                  int sqlType,
+                                  java.sql.PreparedStatement s)
+                           throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeTime

+
+public static void writeTime(java.sql.Time val,
+                             int paramIdx,
+                             int sqlType,
+                             java.sql.PreparedStatement s)
+                      throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeDate

+
+public static void writeDate(java.sql.Date val,
+                             int paramIdx,
+                             int sqlType,
+                             java.sql.PreparedStatement s)
+                      throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeBytesWritable

+
+public static void writeBytesWritable(org.apache.hadoop.io.BytesWritable val,
+                                      int paramIdx,
+                                      int sqlType,
+                                      java.sql.PreparedStatement s)
+                               throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeBigDecimal

+
+public static void writeBigDecimal(java.math.BigDecimal val,
+                                   int paramIdx,
+                                   int sqlType,
+                                   java.sql.PreparedStatement s)
+                            throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeBlobRef

+
+public static void writeBlobRef(BlobRef val,
+                                int paramIdx,
+                                int sqlType,
+                                java.sql.PreparedStatement s)
+                         throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+
+ +

+writeClobRef

+
+public static void writeClobRef(ClobRef val,
+                                int paramIdx,
+                                int sqlType,
+                                java.sql.PreparedStatement s)
+                         throws java.sql.SQLException
+
+
Deprecated. 
+ +
Throws: +
java.sql.SQLException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/LargeObjectLoader.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/LargeObjectLoader.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/LargeObjectLoader.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/com/cloudera/sqoop/lib/LargeObjectLoader.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,315 @@ + + + + + + +LargeObjectLoader (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.cloudera.sqoop.lib +
+Class LargeObjectLoader

+
+java.lang.Object
+  extended by org.apache.sqoop.lib.LargeObjectLoader
+      extended by 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
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static longDEFAULT_MAX_LOB_LENGTH + +
+          Deprecated.  
+static java.lang.StringMAX_INLINE_LOB_LEN_KEY + +
+          Deprecated.  
+  + + + + + + + + + + +
+Constructor Summary
LargeObjectLoader(org.apache.hadoop.conf.Configuration conf, + org.apache.hadoop.fs.Path workPath) + +
+          Deprecated. Create a new LargeObjectLoader.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.sqoop.lib.LargeObjectLoader
close, finalize, readBlobRef, readClobRef
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+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
+
+ + + + + + + + +
+Constructor Detail
+ +

+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 use
workPath - the HDFS working directory for this task. +
Throws: +
java.io.IOException
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + +