Interface QueryCursorEx<T>
-
- All Superinterfaces:
AutoCloseable,Iterable<T>,QueryCursor<T>
- All Known Implementing Classes:
QueryCursorImpl
public interface QueryCursorEx<T> extends QueryCursor<T>
Extended query cursor interface allowing for "getAll" to output data into destination other than Collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceQueryCursorEx.Consumer<T>Query value consumer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<GridQueryFieldMetadata>fieldsMeta()voidgetAll(QueryCursorEx.Consumer<T> c)Get all values passing them through passed consumer.booleanisQuery()-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.apache.ignite.cache.query.QueryCursor
close, getAll
-
-
-
-
Method Detail
-
getAll
void getAll(QueryCursorEx.Consumer<T> c) throws IgniteCheckedException
Get all values passing them through passed consumer.- Parameters:
c- Consumer.- Throws:
IgniteCheckedException
-
fieldsMeta
List<GridQueryFieldMetadata> fieldsMeta()
- Returns:
- Query metadata.
-
isQuery
boolean isQuery()
- Returns:
trueif this cursor corresponds to aResultSetas a result of query,falseif query was modifying operation like INSERT, UPDATE, or DELETE.
-
-