public class AbstractSelectResults<T> extends Object implements org.apache.geode.cache.query.SelectResults<T>
SelectResults interface and Java Collection
interface, which delegates to, and is backed by a given, required SelectResults instance.Collection,
SelectResults| Constructor and Description |
|---|
AbstractSelectResults(org.apache.geode.cache.query.SelectResults<T> selectResults)
Constructs a new instance of
SelectResults initialized with the given, required SelectResults
instance backing this base class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T result) |
boolean |
addAll(Collection<? extends T> results) |
List<T> |
asList() |
Set<T> |
asSet() |
void |
clear() |
boolean |
contains(Object result) |
boolean |
containsAll(Collection<?> results) |
org.apache.geode.cache.query.types.CollectionType |
getCollectionType() |
protected org.apache.geode.cache.query.SelectResults<T> |
getSelectResults()
Return the configured, underlying
SelectResults used as the delegate
backing this SelectResults implementation. |
boolean |
isEmpty() |
boolean |
isModifiable() |
Iterator<T> |
iterator() |
int |
occurrences(T result) |
boolean |
remove(Object result) |
boolean |
removeAll(Collection<?> results) |
boolean |
retainAll(Collection<?> results) |
void |
setElementType(org.apache.geode.cache.query.types.ObjectType objectType) |
int |
size() |
Object[] |
toArray() |
<E> E[] |
toArray(E[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic AbstractSelectResults(@NonNull org.apache.geode.cache.query.SelectResults<T> selectResults)
SelectResults initialized with the given, required SelectResults
instance backing this base class.selectResults - SelectResults delegate backing this implementation; must not be null.IllegalArgumentException - if SelectResults is null.SelectResults@NonNull protected org.apache.geode.cache.query.SelectResults<T> getSelectResults()
SelectResults used as the delegate
backing this SelectResults implementation.SelectResults.SelectResultspublic List<T> asList()
asList in interface org.apache.geode.cache.query.SelectResults<T>public Set<T> asSet()
asSet in interface org.apache.geode.cache.query.SelectResults<T>public org.apache.geode.cache.query.types.CollectionType getCollectionType()
getCollectionType in interface org.apache.geode.cache.query.SelectResults<T>public boolean isModifiable()
isModifiable in interface org.apache.geode.cache.query.SelectResults<T>public int occurrences(T result)
occurrences in interface org.apache.geode.cache.query.SelectResults<T>public void setElementType(org.apache.geode.cache.query.types.ObjectType objectType)
setElementType in interface org.apache.geode.cache.query.SelectResults<T>public boolean add(T result)
add in interface Collection<T>public boolean addAll(Collection<? extends T> results)
addAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean contains(Object result)
contains in interface Collection<T>public boolean containsAll(Collection<?> results)
containsAll in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean remove(Object result)
remove in interface Collection<T>public boolean removeAll(Collection<?> results)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> results)
retainAll in interface Collection<T>public int size()
size in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <E> E[] toArray(E[] array)
toArray in interface Collection<T>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.