public final class TextIntPairWritable extends Object implements org.apache.hadoop.io.WritableComparable<TextIntPairWritable>
| Constructor and Description |
|---|
TextIntPairWritable() |
TextIntPairWritable(org.apache.hadoop.io.Text first,
org.apache.hadoop.io.IntWritable second) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TextIntPairWritable o) |
boolean |
equals(Object obj) |
org.apache.hadoop.io.Text |
getFirst() |
org.apache.hadoop.io.IntWritable |
getSecond() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public TextIntPairWritable()
public TextIntPairWritable(org.apache.hadoop.io.Text first,
org.apache.hadoop.io.IntWritable second)
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 int compareTo(TextIntPairWritable o)
compareTo in interface Comparable<TextIntPairWritable>public org.apache.hadoop.io.Text getFirst()
public org.apache.hadoop.io.IntWritable getSecond()
Copyright © 2016. All rights reserved.