Class BigIntegerLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
org.apache.accumulo.core.client.lexicoder.AbstractLexicoder<BigInteger>
org.apache.accumulo.core.client.lexicoder.BigIntegerLexicoder
- All Implemented Interfaces:
- Encoder<BigInteger>,- Lexicoder<BigInteger>
A lexicoder to encode/decode a BigInteger to/from bytes that maintain its native Java sort order.
- Since:
- 1.6.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondecode(byte[] b) protected BigIntegerdecodeUnchecked(byte[] b, int offset, int origLen) Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.byte[]encode(BigInteger v) Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoderdecode
- 
Constructor Details- 
BigIntegerLexicoderpublic BigIntegerLexicoder()
 
- 
- 
Method Details- 
encode
- 
decode- Specified by:
- decodein interface- Encoder<BigInteger>
- Overrides:
- decodein class- AbstractEncoder<BigInteger>
 
- 
decodeUncheckedDescription copied from class:AbstractEncoderDecodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
- decodeUncheckedin class- AbstractEncoder<BigInteger>
 
 
-