@InterfaceStability.Evolving public static class DBInputFormat.NullDBWritable extends Object implements DBWritable, Writable
| 构造器和说明 |
|---|
DBInputFormat.NullDBWritable() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Writablein - DataInput to deseriablize this object from.IOExceptionpublic void readFields(ResultSet arg0) throws SQLException
DBWritableResultSet.readFields 在接口中 DBWritablearg0 - the ResultSet to get the fields from.SQLExceptionpublic void write(DataOutput out) throws IOException
Writableout.write 在接口中 Writableout - DataOuput to serialize this object into.IOExceptionpublic void write(PreparedStatement arg0) throws SQLException
DBWritablePreparedStatement.write 在接口中 DBWritablearg0 - the statement that the fields are put into.SQLExceptionCopyright © 2009 The Apache Software Foundation