public class DBRecordWritable extends Object implements org.apache.hadoop.io.Writable, org.apache.hadoop.mapreduce.lib.db.DBWritable
| Constructor and Description |
|---|
DBRecordWritable() |
DBRecordWritable(int numColumns) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
readFields(DataInput in) |
void |
readFields(ResultSet rs) |
void |
set(int i,
Object columnObject) |
void |
write(DataOutput out) |
void |
write(PreparedStatement statement) |
public DBRecordWritable()
public DBRecordWritable(int numColumns)
public void clear()
public void set(int i,
Object columnObject)
public void readFields(ResultSet rs) throws SQLException
readFields in interface org.apache.hadoop.mapreduce.lib.db.DBWritableSQLExceptionpublic void write(PreparedStatement statement) throws SQLException
write in interface org.apache.hadoop.mapreduce.lib.db.DBWritableSQLExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.