@InterfaceAudience.Private public class CellSet extends Object implements NavigableSet<org.apache.hadoop.hbase.Cell>
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.| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_NUM_UNIQUES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.apache.hadoop.hbase.Cell e) |
boolean |
addAll(Collection<? extends org.apache.hadoop.hbase.Cell> c) |
org.apache.hadoop.hbase.Cell |
ceiling(org.apache.hadoop.hbase.Cell e) |
void |
clear() |
Comparator<? super org.apache.hadoop.hbase.Cell> |
comparator() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Iterator<org.apache.hadoop.hbase.Cell> |
descendingIterator() |
NavigableSet<org.apache.hadoop.hbase.Cell> |
descendingSet() |
org.apache.hadoop.hbase.Cell |
first() |
org.apache.hadoop.hbase.Cell |
floor(org.apache.hadoop.hbase.Cell e) |
org.apache.hadoop.hbase.Cell |
get(org.apache.hadoop.hbase.Cell kv) |
int |
getNumUniqueKeys() |
SortedSet<org.apache.hadoop.hbase.Cell> |
headSet(org.apache.hadoop.hbase.Cell toElement) |
NavigableSet<org.apache.hadoop.hbase.Cell> |
headSet(org.apache.hadoop.hbase.Cell toElement,
boolean inclusive) |
org.apache.hadoop.hbase.Cell |
higher(org.apache.hadoop.hbase.Cell e) |
boolean |
isEmpty() |
Iterator<org.apache.hadoop.hbase.Cell> |
iterator() |
org.apache.hadoop.hbase.Cell |
last() |
org.apache.hadoop.hbase.Cell |
lower(org.apache.hadoop.hbase.Cell e) |
org.apache.hadoop.hbase.Cell |
pollFirst() |
org.apache.hadoop.hbase.Cell |
pollLast() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
NavigableSet<org.apache.hadoop.hbase.Cell> |
subSet(org.apache.hadoop.hbase.Cell fromElement,
boolean fromInclusive,
org.apache.hadoop.hbase.Cell toElement,
boolean toInclusive) |
SortedSet<org.apache.hadoop.hbase.Cell> |
subSet(org.apache.hadoop.hbase.Cell fromElement,
org.apache.hadoop.hbase.Cell toElement) |
SortedSet<org.apache.hadoop.hbase.Cell> |
tailSet(org.apache.hadoop.hbase.Cell fromElement) |
NavigableSet<org.apache.hadoop.hbase.Cell> |
tailSet(org.apache.hadoop.hbase.Cell fromElement,
boolean inclusive) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic static final int UNKNOWN_NUM_UNIQUES
public org.apache.hadoop.hbase.Cell ceiling(org.apache.hadoop.hbase.Cell e)
ceiling in interface NavigableSet<org.apache.hadoop.hbase.Cell>public Iterator<org.apache.hadoop.hbase.Cell> descendingIterator()
descendingIterator in interface NavigableSet<org.apache.hadoop.hbase.Cell>public NavigableSet<org.apache.hadoop.hbase.Cell> descendingSet()
descendingSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell floor(org.apache.hadoop.hbase.Cell e)
floor in interface NavigableSet<org.apache.hadoop.hbase.Cell>public SortedSet<org.apache.hadoop.hbase.Cell> headSet(org.apache.hadoop.hbase.Cell toElement)
headSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>headSet in interface SortedSet<org.apache.hadoop.hbase.Cell>public NavigableSet<org.apache.hadoop.hbase.Cell> headSet(org.apache.hadoop.hbase.Cell toElement, boolean inclusive)
headSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell higher(org.apache.hadoop.hbase.Cell e)
higher in interface NavigableSet<org.apache.hadoop.hbase.Cell>public Iterator<org.apache.hadoop.hbase.Cell> iterator()
iterator in interface Iterable<org.apache.hadoop.hbase.Cell>iterator in interface Collection<org.apache.hadoop.hbase.Cell>iterator in interface NavigableSet<org.apache.hadoop.hbase.Cell>iterator in interface Set<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell lower(org.apache.hadoop.hbase.Cell e)
lower in interface NavigableSet<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell pollFirst()
pollFirst in interface NavigableSet<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell pollLast()
pollLast in interface NavigableSet<org.apache.hadoop.hbase.Cell>public SortedSet<org.apache.hadoop.hbase.Cell> subSet(org.apache.hadoop.hbase.Cell fromElement, org.apache.hadoop.hbase.Cell toElement)
subSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>subSet in interface SortedSet<org.apache.hadoop.hbase.Cell>public NavigableSet<org.apache.hadoop.hbase.Cell> subSet(org.apache.hadoop.hbase.Cell fromElement, boolean fromInclusive, org.apache.hadoop.hbase.Cell toElement, boolean toInclusive)
subSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>public SortedSet<org.apache.hadoop.hbase.Cell> tailSet(org.apache.hadoop.hbase.Cell fromElement)
tailSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>tailSet in interface SortedSet<org.apache.hadoop.hbase.Cell>public NavigableSet<org.apache.hadoop.hbase.Cell> tailSet(org.apache.hadoop.hbase.Cell fromElement, boolean inclusive)
tailSet in interface NavigableSet<org.apache.hadoop.hbase.Cell>public Comparator<? super org.apache.hadoop.hbase.Cell> comparator()
comparator in interface SortedSet<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell first()
public org.apache.hadoop.hbase.Cell last()
public boolean add(org.apache.hadoop.hbase.Cell e)
add in interface Collection<org.apache.hadoop.hbase.Cell>add in interface Set<org.apache.hadoop.hbase.Cell>public boolean addAll(Collection<? extends org.apache.hadoop.hbase.Cell> c)
addAll in interface Collection<org.apache.hadoop.hbase.Cell>addAll in interface Set<org.apache.hadoop.hbase.Cell>public void clear()
clear in interface Collection<org.apache.hadoop.hbase.Cell>clear in interface Set<org.apache.hadoop.hbase.Cell>public boolean contains(Object o)
contains in interface Collection<org.apache.hadoop.hbase.Cell>contains in interface Set<org.apache.hadoop.hbase.Cell>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<org.apache.hadoop.hbase.Cell>containsAll in interface Set<org.apache.hadoop.hbase.Cell>public boolean isEmpty()
isEmpty in interface Collection<org.apache.hadoop.hbase.Cell>isEmpty in interface Set<org.apache.hadoop.hbase.Cell>public boolean remove(Object o)
remove in interface Collection<org.apache.hadoop.hbase.Cell>remove in interface Set<org.apache.hadoop.hbase.Cell>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<org.apache.hadoop.hbase.Cell>removeAll in interface Set<org.apache.hadoop.hbase.Cell>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<org.apache.hadoop.hbase.Cell>retainAll in interface Set<org.apache.hadoop.hbase.Cell>public org.apache.hadoop.hbase.Cell get(org.apache.hadoop.hbase.Cell kv)
public int size()
size in interface Collection<org.apache.hadoop.hbase.Cell>size in interface Set<org.apache.hadoop.hbase.Cell>public Object[] toArray()
toArray in interface Collection<org.apache.hadoop.hbase.Cell>toArray in interface Set<org.apache.hadoop.hbase.Cell>public <T> T[] toArray(T[] a)
toArray in interface Collection<org.apache.hadoop.hbase.Cell>toArray in interface Set<org.apache.hadoop.hbase.Cell>public int getNumUniqueKeys()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.