Class ReverseLexicoder<T>
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.AbstractLexicoder<T>
org.apache.accumulo.core.client.lexicoder.ReverseLexicoder<T>
A lexicoder that flips the sort order from another lexicoder. If this is applied to
 
DateLexicoder, the most recent date will be sorted first and the oldest date will be
 sorted last. If it's applied to LongLexicoder, the Long.MAX_VALUE will be sorted first
 and Long.MIN_VALUE will be sorted last, etc...- Since:
- 1.6.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected TdecodeUnchecked(byte[] data, int offset, int len) Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.byte[]Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoderdecode, decode
- 
Constructor Details- 
ReverseLexicoder- Parameters:
- lexicoder- The lexicoder who's sort order will be flipped.
 
 
- 
- 
Method Details- 
encode
- 
decodeUncheckedDescription copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
- decodeUncheckedin class- AbstractEncoder<T>
 
 
-