public class TextLexicoder extends Object 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[] data) |
byte[] |
encode(org.apache.hadoop.io.Text data) |
public 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[] data)
decode
in interface org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<org.apache.hadoop.io.Text>
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.