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