@InterfaceStability.Evolving public static class DBInputFormat.NullDBWritable extends Object implements DBWritable, Writable
| Constructor and Description |
|---|
DBInputFormat.NullDBWritable() |
| Modifier and Type | Method and Description |
|---|---|
void |
readFields(DataInput in)
Deserialize the fields of this object from
in. |
void |
readFields(ResultSet arg0)
Reads the fields of the object from the
ResultSet. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
void |
write(PreparedStatement arg0)
Sets the fields of the object in the
PreparedStatement. |
public void readFields(DataInput in) throws IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionpublic void readFields(ResultSet arg0) throws SQLException
DBWritableResultSet.readFields in interface DBWritablearg0 - the ResultSet to get the fields from.SQLExceptionpublic void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void write(PreparedStatement arg0) throws SQLException
DBWritablePreparedStatement.write in interface DBWritablearg0 - the statement that the fields are put into.SQLExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.