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
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields
在接口中 Writable
in
- DataInput
to deseriablize this object from.IOException
public void readFields(ResultSet arg0) throws SQLException
DBWritable
ResultSet
.readFields
在接口中 DBWritable
arg0
- the ResultSet
to get the fields from.SQLException
public void write(DataOutput out) throws IOException
Writable
out
.write
在接口中 Writable
out
- DataOuput
to serialize this object into.IOException
public void write(PreparedStatement arg0) throws SQLException
DBWritable
PreparedStatement
.write
在接口中 DBWritable
arg0
- the statement that the fields are put into.SQLException
Copyright © 2009 The Apache Software Foundation