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