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.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(ResultSet resultSet) throws SQLException
readFields
in interface org.apache.hadoop.mapreduce.lib.db.DBWritable
SQLException
public void write(PreparedStatement preparedStatement) throws SQLException
write
in interface org.apache.hadoop.mapreduce.lib.db.DBWritable
SQLException
Copyright © 2016 The Apache Software Foundation. All rights reserved.