|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBWritable
DBWritable Interface. All value classes (key-value pairs read in by MapReduce jobs
that access a database) need to extend DBWritable. See DBRecordReader
for
more information.
Method Summary | |
---|---|
void |
readFields(java.sql.ResultSet resultSet)
Reads the fields of the object from the ResultSet . |
void |
write(java.sql.PreparedStatement statement)
Sets the fields of the object in the PreparedStatement (not used currently). |
Method Detail |
---|
void readFields(java.sql.ResultSet resultSet) throws java.sql.SQLException
ResultSet
.
resultSet
- the ResultSet
to get the fields from.
java.sql.SQLException
void write(java.sql.PreparedStatement statement) throws java.sql.SQLException
PreparedStatement
(not used currently).
statement
- the statement that the fields are put into.
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |