public final class OrcKey extends Object implements WritableComparable<OrcKey>, JobConfigurable
The user should set the JobConf with orc.mapred.key.type with the type string of the type.
| Modifier and Type | Field and Description |
|---|---|
WritableComparable |
key |
| Constructor and Description |
|---|
OrcKey() |
OrcKey(WritableComparable key) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OrcKey o) |
void |
configure(JobConf conf) |
boolean |
equals(Object o) |
int |
hashCode() |
void |
readFields(DataInput dataInput) |
void |
write(DataOutput dataOutput) |
public WritableComparable key
public OrcKey(WritableComparable key)
public OrcKey()
public void write(DataOutput dataOutput) throws IOException
write in interface WritableIOExceptionpublic void readFields(DataInput dataInput) throws IOException
readFields in interface WritableIOExceptionpublic void configure(JobConf conf)
configure in interface JobConfigurablepublic int compareTo(OrcKey o)
compareTo in interface Comparable<OrcKey>Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.