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
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
key
 
 - 
 - 
Constructor Details
- 
OrcKey
 - 
OrcKey
public OrcKey() 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfaceWritable- Throws:
 IOException
 - 
readFields
- Specified by:
 readFieldsin interfaceWritable- Throws:
 IOException
 - 
configure
- Specified by:
 configurein interfaceJobConfigurable
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<OrcKey>
 - 
equals
 - 
hashCode
public int hashCode() 
 -