Class FloatLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Float>
org.apache.accumulo.core.client.lexicoder.FloatLexicoder
- All Implemented Interfaces:
Encoder<Float>,Lexicoder<Float>,org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Float>
public class FloatLexicoder
extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Float>
A lexicoder for preserving the native Java sort order of Float values.
- Since:
- 1.8.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
Constructor Details
-
FloatLexicoder
public FloatLexicoder()
-
-
Method Details
-
encode
-
decode
- Specified by:
decodein interfaceorg.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Float>- Overrides:
decodein classAbstractEncoder<Float>
-
decodeUnchecked
protected Float decodeUnchecked(byte[] b, int offset, int len) throws org.apache.accumulo.core.iterators.ValueFormatException Description copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
decodeUncheckedin classAbstractEncoder<Float>- Throws:
org.apache.accumulo.core.iterators.ValueFormatException
-