public class IdentifiableName extends Object implements org.apache.hadoop.mapreduce.lib.db.DBWritable, org.apache.hadoop.io.Writable
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.io.IntWritable |
id |
org.apache.hadoop.io.Text |
name |
| Constructor and Description |
|---|
IdentifiableName() |
| Modifier and Type | Method and Description |
|---|---|
void |
readFields(DataInput in) |
void |
readFields(ResultSet resultSet) |
void |
write(DataOutput out) |
void |
write(PreparedStatement preparedStatement) |
public org.apache.hadoop.io.IntWritable id
public org.apache.hadoop.io.Text name
public 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.WritableIOExceptionpublic void readFields(ResultSet resultSet) throws SQLException
readFields in interface org.apache.hadoop.mapreduce.lib.db.DBWritableSQLExceptionpublic void write(PreparedStatement preparedStatement) throws SQLException
write in interface org.apache.hadoop.mapreduce.lib.db.DBWritableSQLExceptionCopyright © 2015 The Apache Software Foundation. All Rights Reserved.