public class FloatLexicoder extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Float>
Constructor and Description |
---|
FloatLexicoder() |
Modifier and Type | Method and Description |
---|---|
Float |
decode(byte[] b) |
protected Float |
decodeUnchecked(byte[] b,
int offset,
int len)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.
|
byte[] |
encode(Float f) |
decode
public byte[] encode(Float f)
public Float decode(byte[] b)
decode
in interface org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Float>
decode
in class AbstractEncoder<Float>
protected Float decodeUnchecked(byte[] b, int offset, int len) throws org.apache.accumulo.core.iterators.ValueFormatException
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<Float>
org.apache.accumulo.core.iterators.ValueFormatException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.