public class StringLexicoder extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<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) |
decode
public byte[] encode(String data)
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)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<String>
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.