Class CellSet
java.lang.Object
org.apache.hadoop.hbase.regionserver.CellSet
- All Implemented Interfaces:
Iterable<Cell>,Collection<Cell>,NavigableSet<Cell>,Set<Cell>,SortedSet<Cell>
A
Set of Cells, where an add will overwrite the entry if already exists
in the set. The call to add returns true if no value in the backing map or false if there was an
entry with same key (though value may be different). implementation is tolerant of concurrent get
and set and won't throw ConcurrentModificationException when iterating.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NavigableMap<Cell,Cell> private final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionCellSet(NavigableMap<Cell, Cell> m) CellSet(NavigableMap<Cell, Cell> m, int numUniqueKeys) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Cell> c) voidclear()Comparator<? super Cell>booleanbooleancontainsAll(Collection<?> c) first()(package private) NavigableMap<Cell,Cell> intbooleanisEmpty()iterator()last()pollLast()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods inherited from interface java.util.SortedSet
spliterator
-
Field Details
-
UNKNOWN_NUM_UNIQUES
- See Also:
-
delegatee
-
numUniqueKeys
-
-
Constructor Details
-
CellSet
-
-
Method Details
-
getDelegatee
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<Cell>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<Cell>
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<Cell>
-
floor
- Specified by:
floorin interfaceNavigableSet<Cell>
-
headSet
-
headSet
- Specified by:
headSetin interfaceNavigableSet<Cell>
-
higher
- Specified by:
higherin interfaceNavigableSet<Cell>
-
iterator
-
lower
- Specified by:
lowerin interfaceNavigableSet<Cell>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<Cell>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<Cell>
-
subSet
-
subSet
public NavigableSet<Cell> subSet(Cell fromElement, boolean fromInclusive, Cell toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<Cell>
-
tailSet
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<Cell>
-
comparator
- Specified by:
comparatorin interfaceSortedSet<Cell>
-
first
-
last
-
add
-
addAll
-
clear
-
contains
-
containsAll
- Specified by:
containsAllin interfaceCollection<Cell>- Specified by:
containsAllin interfaceSet<Cell>
-
isEmpty
-
remove
-
removeAll
-
retainAll
-
get
-
size
-
toArray
-
toArray
-
getNumUniqueKeys
-