T - The type of POJO associated with this object set.public class ObjectSetImpl<T> extends Object implements ObjectSet<T>
ObjectSetImpl class extends on Cassandra's
ResultSet class in order to provide support
for POJOs.| Modifier and Type | Method and Description |
|---|---|
List<T> |
all() |
com.google.common.util.concurrent.ListenableFuture<ObjectSet<T>> |
fetchMoreObjects() |
ObjectSet<T> |
filter(java.util.function.Predicate<? super T> filter) |
List<com.datastax.driver.core.ExecutionInfo> |
getAllExecutionInfo() |
int |
getAvailableWithoutFetching() |
com.datastax.driver.core.ColumnDefinitions |
getColumnDefinitions() |
com.datastax.driver.core.ExecutionInfo |
getExecutionInfo() |
boolean |
isExhausted() |
boolean |
isFullyFetched() |
Iterator<T> |
iterator() |
T |
one() |
T |
oneRequired() |
T |
onlyOneRequired() |
java.util.stream.Stream<T> |
stream() |
String |
toString() |
boolean |
wasApplied() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfetchMoreResultsforEach, spliteratorpublic com.datastax.driver.core.ColumnDefinitions getColumnDefinitions()
getColumnDefinitions in interface ObjectSet<T>ObjectSet.getColumnDefinitions()public boolean wasApplied()
wasApplied in interface ObjectSet<T>ObjectSet.wasApplied()public boolean isExhausted()
public T one()
public T oneRequired()
oneRequired in interface ObjectSet<T>ObjectSet.oneRequired()public T onlyOneRequired()
onlyOneRequired in interface ObjectSet<T>ObjectSet.onlyOneRequired()public ObjectSet<T> filter(java.util.function.Predicate<? super T> filter)
filter in interface ObjectSet<T>ObjectSet.filter(java.util.function.Predicate)public java.util.stream.Stream<T> stream()
stream in interface ObjectSet<T>ObjectSet.stream()public int getAvailableWithoutFetching()
public boolean isFullyFetched()
public com.google.common.util.concurrent.ListenableFuture<ObjectSet<T>> fetchMoreObjects()
fetchMoreObjects in interface ObjectSet<T>ObjectSet.fetchMoreObjects()public com.datastax.driver.core.ExecutionInfo getExecutionInfo()
public List<com.datastax.driver.core.ExecutionInfo> getAllExecutionInfo()
public String toString()
toString in class ObjectObject.toString()Copyright (C) 2015-2017 The Helenus Driver Project Authors.