public static class DBInputFormat.NullDBWritable extends java.lang.Object implements DBWritable, org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
DBInputFormat.NullDBWritable() |
| Modifier and Type | Method and Description |
|---|---|
void |
readFields(java.io.DataInput in) |
void |
readFields(java.sql.ResultSet arg0)
Reads the fields of the object from the
ResultSet. |
void |
write(java.io.DataOutput out) |
void |
write(java.sql.PreparedStatement arg0)
Sets the fields of the object in the
PreparedStatement. |
public void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void readFields(java.sql.ResultSet arg0)
throws java.sql.SQLException
DBWritableResultSet.readFields in interface DBWritablearg0 - the ResultSet to get the fields from.java.sql.SQLExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void write(java.sql.PreparedStatement arg0)
throws java.sql.SQLException
DBWritablePreparedStatement.write in interface DBWritablearg0 - the statement that the fields are put into.java.sql.SQLExceptionCopyright © 2009 The Apache Software Foundation