Package org.apache.orc.mapred
Class OrcKey
java.lang.Object
org.apache.orc.mapred.OrcKey
- All Implemented Interfaces:
Comparable<OrcKey>
,Writable
,WritableComparable<OrcKey>
,JobConfigurable
This type provides a wrapper for OrcStruct so that it can be sent through
the MapReduce shuffle as a key.
The user should set the JobConf with orc.mapred.key.type with the type string of the type.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
key
-
-
Constructor Details
-
OrcKey
-
OrcKey
public OrcKey()
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceWritable
- Throws:
IOException
-
configure
- Specified by:
configure
in interfaceJobConfigurable
-
compareTo
- Specified by:
compareTo
in interfaceComparable<OrcKey>
-
equals
-
hashCode
public int hashCode()
-