org.apache.hadoop.hbase.util.byterange.impl
Class ByteRangeHashSet
java.lang.Object
org.apache.hadoop.hbase.util.byterange.ByteRangeSet
org.apache.hadoop.hbase.util.byterange.impl.ByteRangeHashSet
@InterfaceAudience.Private
public class ByteRangeHashSet
- extends ByteRangeSet
This is probably the best implementation of ByteRangeSet at the moment, though a HashMap produces
garbage when adding a new element to it. We can probably create a tighter implementation without
pointers or garbage.
ByteRangeHashSet
public ByteRangeHashSet()
- constructors
ByteRangeHashSet
public ByteRangeHashSet(List<ByteRange> rawByteArrays)
addToSortedRanges
public void addToSortedRanges()
- Description copied from class:
ByteRangeSet
- abstract
- Specified by:
addToSortedRanges
in class ByteRangeSet
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.