public class UnionWritable extends Object implements org.apache.hadoop.io.WritableComparable<UnionWritable>
| Constructor and Description |
|---|
UnionWritable() |
UnionWritable(int index,
org.apache.hadoop.io.BytesWritable value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UnionWritable other) |
int |
getIndex() |
org.apache.hadoop.io.BytesWritable |
getValue() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public UnionWritable()
public UnionWritable(int index,
org.apache.hadoop.io.BytesWritable value)
public int getIndex()
public org.apache.hadoop.io.BytesWritable getValue()
public int compareTo(UnionWritable other)
compareTo in interface Comparable<UnionWritable>public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.