org.apache.accumulo.core.client.lexicoder
Class BytesLexicoder
java.lang.Object
org.apache.accumulo.core.client.lexicoder.BytesLexicoder
- All Implemented Interfaces:
- Encoder<byte[]>, Lexicoder<byte[]>, TypedValueCombiner.Encoder<byte[]>
public class BytesLexicoder
- extends Object
- implements Lexicoder<byte[]>
For each of the methods, this lexicoder just passes the input through untouched. It is meant to be combined with other lexicoders like the
ReverseLexicoder
.
- Since:
- 1.6.0
Method Summary |
byte[] |
decode(byte[] data)
|
byte[] |
encode(byte[] data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesLexicoder
public BytesLexicoder()
encode
public byte[] encode(byte[] data)
- Specified by:
encode
in interface TypedValueCombiner.Encoder<byte[]>
decode
public byte[] decode(byte[] data)
- Specified by:
decode
in interface TypedValueCombiner.Encoder<byte[]>
Copyright © 2015 Apache Accumulo Project. All rights reserved.