public class IntegerLexicoder extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Integer> implements Lexicoder<Integer>
Constructor and Description |
---|
IntegerLexicoder() |
Modifier and Type | Method and Description |
---|---|
Integer |
decode(byte[] b) |
protected Integer |
decodeUnchecked(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[] |
encode(Integer i) |
decode
public byte[] encode(Integer i)
encode
in interface org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Integer>
public Integer decode(byte[] b)
decode
in interface org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Integer>
decode
in class AbstractEncoder<Integer>
protected Integer decodeUnchecked(byte[] data, int offset, int len)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<Integer>
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.