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