@InterfaceStability.Evolving public static class DBInputFormat.NullDBWritable extends Object implements DBWritable, org.apache.hadoop.io.Writable
Constructor and Description |
---|
NullDBWritable() |
Modifier and Type | Method and Description |
---|---|
void |
readFields(DataInput in) |
void |
readFields(ResultSet arg0)
Reads the fields of the object from the
ResultSet . |
void |
write(DataOutput out) |
void |
write(PreparedStatement arg0)
Sets the fields of the object in the
PreparedStatement . |
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
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
write
in interface org.apache.hadoop.io.Writable
IOException
public void write(PreparedStatement arg0) throws SQLException
DBWritable
PreparedStatement
.write
in interface DBWritable
arg0
- the statement that the fields are put into.SQLException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.