Search in sources :

Example 1 with ByteRangeHashSet

use of org.apache.hadoop.hbase.util.byterange.impl.ByteRangeHashSet in project hbase by apache.

the class PrefixTreeEncoder method initializeTagHelpers.

protected void initializeTagHelpers() {
    this.tagsRange = new SimpleMutableByteRange();
    this.tagsDeduplicator = USE_HASH_COLUMN_SORTER ? new ByteRangeHashSet() : new ByteRangeTreeSet();
    this.tagsTokenizer = new Tokenizer();
    this.tagsWriter = new ColumnSectionWriter();
}
Also used : ByteRangeHashSet(org.apache.hadoop.hbase.util.byterange.impl.ByteRangeHashSet) ColumnSectionWriter(org.apache.hadoop.hbase.codec.prefixtree.encode.column.ColumnSectionWriter) Tokenizer(org.apache.hadoop.hbase.codec.prefixtree.encode.tokenize.Tokenizer) SimpleMutableByteRange(org.apache.hadoop.hbase.util.SimpleMutableByteRange) ByteRangeTreeSet(org.apache.hadoop.hbase.util.byterange.impl.ByteRangeTreeSet)

Aggregations

ColumnSectionWriter (org.apache.hadoop.hbase.codec.prefixtree.encode.column.ColumnSectionWriter)1 Tokenizer (org.apache.hadoop.hbase.codec.prefixtree.encode.tokenize.Tokenizer)1 SimpleMutableByteRange (org.apache.hadoop.hbase.util.SimpleMutableByteRange)1 ByteRangeHashSet (org.apache.hadoop.hbase.util.byterange.impl.ByteRangeHashSet)1 ByteRangeTreeSet (org.apache.hadoop.hbase.util.byterange.impl.ByteRangeTreeSet)1