Class UUIDLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<UUID>
org.apache.accumulo.core.client.lexicoder.UUIDLexicoder
- All Implemented Interfaces:
Encoder<UUID>
,Lexicoder<UUID>
,org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<UUID>
public class UUIDLexicoder
extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<UUID>
A lexicoder for a UUID that maintains its lexicographic sorting order.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
Constructor Details
-
UUIDLexicoder
public UUIDLexicoder()
-
-
Method Details
-
encode
-
decode
- Specified by:
decode
in interfaceorg.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<UUID>
- Overrides:
decode
in classAbstractEncoder<UUID>
-
decodeUnchecked
protected UUID decodeUnchecked(byte[] b, int offset, int len) throws org.apache.accumulo.core.iterators.ValueFormatException Description copied from class:AbstractEncoder
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
decodeUnchecked
in classAbstractEncoder<UUID>
- Throws:
org.apache.accumulo.core.iterators.ValueFormatException
-