Class DoubleLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Double>
org.apache.accumulo.core.client.lexicoder.DoubleLexicoder
- All Implemented Interfaces:
Encoder<Double>
,Lexicoder<Double>
,org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Double>
public class DoubleLexicoder
extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Double>
A lexicoder for preserving the native Java sort order of Double values.
- Since:
- 1.6.0
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
Constructor Details
-
DoubleLexicoder
public DoubleLexicoder()
-
-
Method Details
-
encode
-
decode
- Specified by:
decode
in interfaceorg.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Double>
- Overrides:
decode
in classAbstractEncoder<Double>
-
decodeUnchecked
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<Double>
-