|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.lib.db.DBInputFormat.NullDBWritable
@InterfaceStability.Evolving public static class DBInputFormat.NullDBWritable
A Class that does nothing, implementing DBWritable
Constructor Summary | |
---|---|
DBInputFormat.NullDBWritable()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBInputFormat.NullDBWritable()
Method Detail |
---|
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
in interface Writable
in
- DataInput
to deseriablize this object from.
IOException
public void readFields(ResultSet arg0) throws SQLException
DBWritable
ResultSet
.
readFields
in interface DBWritable
arg0
- the ResultSet
to get the fields from.
SQLException
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
out
- DataOuput
to serialize this object into.
IOException
public void write(PreparedStatement arg0) throws SQLException
DBWritable
PreparedStatement
.
write
in interface DBWritable
arg0
- the statement that the fields are put into.
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |