public static class DBInputFormat.NullDBWritable extends java.lang.Object implements DBWritable, org.apache.hadoop.io.Writable
Constructor and Description |
---|
DBInputFormat.NullDBWritable() |
Modifier and Type | Method and Description |
---|---|
void |
readFields(java.io.DataInput in) |
void |
readFields(java.sql.ResultSet arg0)
Reads the fields of the object from the
ResultSet . |
void |
write(java.io.DataOutput out) |
void |
write(java.sql.PreparedStatement arg0)
Sets the fields of the object in the
PreparedStatement . |
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void readFields(java.sql.ResultSet arg0) throws java.sql.SQLException
DBWritable
ResultSet
.readFields
in interface DBWritable
arg0
- the ResultSet
to get the fields from.java.sql.SQLException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.sql.PreparedStatement arg0) throws java.sql.SQLException
DBWritable
PreparedStatement
.write
in interface DBWritable
arg0
- the statement that the fields are put into.java.sql.SQLException
Copyright © 2009 The Apache Software Foundation