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

+ +org.apache.sqoop.lib +
+Class LobSerializer

+
+java.lang.Object
+  extended by org.apache.sqoop.lib.LobSerializer
+
+
+
+
public final class LobSerializer
extends java.lang.Object
+ + +

+Serialize LOB classes to/from DataInput and DataOutput objects. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static BlobRefreadBlobFields(java.io.DataInput in) + +
+           
+static ClobRefreadClobFields(java.io.DataInput in) + +
+           
+static voidwriteBlob(BlobRef blob, + java.io.DataOutput out) + +
+           
+static voidwriteClob(ClobRef clob, + java.io.DataOutput out) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+writeClob

+
+public static void writeClob(ClobRef clob,
+                             java.io.DataOutput out)
+                      throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+writeBlob

+
+public static void writeBlob(BlobRef blob,
+                             java.io.DataOutput out)
+                      throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+readClobFields

+
+public static ClobRef readClobFields(java.io.DataInput in)
+                              throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+readBlobFields

+
+public static BlobRef readBlobFields(java.io.DataInput in)
+                              throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/ProcessingException.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/ProcessingException.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/ProcessingException.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/ProcessingException.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,322 @@ + + + + + + +ProcessingException (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.sqoop.lib +
+Class ProcessingException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.sqoop.lib.ProcessingException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
ProcessingException
+
+
+
+
public class ProcessingException
extends java.lang.Exception
+ + +

+General error during processing of a SqoopRecord. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ProcessingException() + +
+           
ProcessingException(java.lang.String message) + +
+           
ProcessingException(java.lang.String message, + java.lang.Throwable cause) + +
+           
ProcessingException(java.lang.Throwable cause) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProcessingException

+
+public ProcessingException()
+
+
+
+ +

+ProcessingException

+
+public ProcessingException(java.lang.String message)
+
+
+
+ +

+ProcessingException

+
+public ProcessingException(java.lang.Throwable cause)
+
+
+
+ +

+ProcessingException

+
+public ProcessingException(java.lang.String message,
+                           java.lang.Throwable cause)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Throwable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + + Added: sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/RecordParser.ParseError.html URL: http://svn.apache.org/viewvc/sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/RecordParser.ParseError.html?rev=1453973&view=auto ============================================================================== --- sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/RecordParser.ParseError.html (added) +++ sqoop/site/trunk/content/resources/docs/1.4.3/api/org/apache/sqoop/lib/RecordParser.ParseError.html Thu Mar 7 17:26:54 2013 @@ -0,0 +1,294 @@ + + + + + + +RecordParser.ParseError (Sqoop 1.4.3 API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.sqoop.lib +
+Class RecordParser.ParseError

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.sqoop.lib.RecordParser.ParseError
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
RecordParser.ParseError
+
+
+
Enclosing class:
RecordParser
+
+
+
+
public static class RecordParser.ParseError
extends java.lang.Exception
+ + +

+An error thrown when parsing fails. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
RecordParser.ParseError() + +
+           
RecordParser.ParseError(java.lang.String msg) + +
+           
RecordParser.ParseError(java.lang.String msg, + java.lang.Throwable cause) + +
+           
RecordParser.ParseError(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordParser.ParseError

+
+public RecordParser.ParseError()
+
+
+
+ +

+RecordParser.ParseError

+
+public RecordParser.ParseError(java.lang.String msg)
+
+
+
+ +

+RecordParser.ParseError

+
+public RecordParser.ParseError(java.lang.String msg,
+                               java.lang.Throwable cause)
+
+
+
+ +

+RecordParser.ParseError

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

+ +org.apache.sqoop.lib +
+Class RecordParser

+
+java.lang.Object
+  extended by org.apache.sqoop.lib.RecordParser
+
+
+
Direct Known Subclasses:
RecordParser
+
+
+
+
public class RecordParser
extends java.lang.Object
+ + +

+Parses a record containing one or more fields. Fields are separated + by some FIELD_DELIMITER character, e.g. a comma or a ^A character. + Records are terminated by a RECORD_DELIMITER character, e.g., a newline. + + Fields may be (optionally or mandatorily) enclosed by a quoting char + e.g., '\"' + + Fields may contain escaped characters. An escape character may be, e.g., + the '\\' character. Any character following an escape character + is treated literally. e.g., '\n' is recorded as an 'n' character, not a + newline. + + Unexpected results may occur if the enclosing character escapes itself. + e.g., this cannot parse SQL SELECT statements where the single character + ['] escapes to ['']. + + This class is not synchronized. Multiple threads must use separate + instances of RecordParser. + + The fields parsed by RecordParser are backed by an internal buffer + which is cleared when the next call to parseRecord() is made. If + the buffer is required to be preserved, you must copy it yourself. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classRecordParser.ParseError + +
+          An error thrown when parsing fails.
+ + + + + + + + + + +
+Field Summary
+static org.apache.commons.logging.LogLOG + +
+           
+  + + + + + + + + + + +
+Constructor Summary
RecordParser(DelimiterSet delimitersIn) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ inthashCode() + +
+           
+ booleanisEnclosingRequired() + +
+           
+ java.util.List<java.lang.String>parseRecord(byte[] input) + +
+          Return a list of strings representing the fields of the input line.
+ java.util.List<java.lang.String>parseRecord(java.nio.ByteBuffer input) + +
+           
+ java.util.List<java.lang.String>parseRecord(char[] input) + +
+          Return a list of strings representing the fields of the input line.
+ java.util.List<java.lang.String>parseRecord(java.nio.CharBuffer input) + +
+          Return a list of strings representing the fields of the input line.
+ java.util.List<java.lang.String>parseRecord(java.lang.CharSequence input) + +
+          Return a list of strings representing the fields of the input line.
+ java.util.List<java.lang.String>parseRecord(org.apache.hadoop.io.Text input) + +
+          Return a list of strings representing the fields of the input line.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

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

+LOG

+
+public static final org.apache.commons.logging.Log LOG
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RecordParser

+
+public RecordParser(DelimiterSet delimitersIn)
+
+
+ + + + + + + + +
+Method Detail
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(java.lang.CharSequence input)
+                                             throws RecordParser.ParseError
+
+
Return a list of strings representing the fields of the input line. + This list is backed by an internal buffer which is cleared by the + next call to parseRecord(). +

+

+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(org.apache.hadoop.io.Text input)
+                                             throws RecordParser.ParseError
+
+
Return a list of strings representing the fields of the input line. + This list is backed by an internal buffer which is cleared by the + next call to parseRecord(). +

+

+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(byte[] input)
+                                             throws RecordParser.ParseError
+
+
Return a list of strings representing the fields of the input line. + This list is backed by an internal buffer which is cleared by the + next call to parseRecord(). +

+

+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(char[] input)
+                                             throws RecordParser.ParseError
+
+
Return a list of strings representing the fields of the input line. + This list is backed by an internal buffer which is cleared by the + next call to parseRecord(). +

+

+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(java.nio.ByteBuffer input)
+                                             throws RecordParser.ParseError
+
+
+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+parseRecord

+
+public java.util.List<java.lang.String> parseRecord(java.nio.CharBuffer input)
+                                             throws RecordParser.ParseError
+
+
Return a list of strings representing the fields of the input line. + This list is backed by an internal buffer which is cleared by the + next call to parseRecord(). +

+

+ +
Throws: +
RecordParser.ParseError
+
+
+
+ +

+isEnclosingRequired

+
+public boolean isEnclosingRequired()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2013 The Apache Software Foundation + +