public class Key extends Object implements org.apache.hadoop.io.WritableComparable<Key>
| Constructor and Description |
|---|
Key() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Key k) |
byte[] |
getKey() |
void |
readFields(DataInput in) |
void |
setKey(byte[] k) |
void |
write(DataOutput out) |
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.WritableIOExceptionpublic final int compareTo(Key k)
compareTo in interface Comparable<Key>public final void setKey(byte[] k)
public final byte[] getKey()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.