Package one.microstream.util.cql
Interface CqlIteration<I,O,R extends XIterable<O>>
- All Known Subinterfaces:
CqlProjection<I,O>
,CqlSelection<I>
,CqlTransfer<I,R>
- All Known Implementing Classes:
CqlIteration.Default
,CqlProjection.Default
,CqlSelection.Default
,CqlTransfer.Default
public interface CqlIteration<I,O,R extends XIterable<O>> extends CqlQuery<I,O,R>, XIterable<O>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CqlIteration.Default<I,O,R extends XIterable<O>>
Nested classes/interfaces inherited from interface one.microstream.util.cql.CqlQuery
CqlQuery.Abstract<I,O,R>
Nested classes/interfaces inherited from interface one.microstream.collections.types.XIterable
XIterable.Executor<E>
-
Method Summary
Modifier and Type Method Description default CqlIteration<I,O,R>
from(XIterable<? extends I> source)
default <P extends Consumer<? super O>>
Piterate(P procedure)
Executes the given procedure for each element of theXIterable
until all elements have been processed or the action throws an exception.default CqlIteration<I,O,R>
limit(Number count)
static <I, O, R extends XIterable<O>>
CqlIteration<I,O,R>New()
static <I, O> CqlQuery<I,O,XSequence<O>>
New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator)
static <I, O, R extends XIterable<O>>
CqlQuery<I,O,R>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, Aggregator<O,R> aggregator)
static <I, O, R extends XIterable<O>>
CqlIteration<I,O,R>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, CqlResultor<O,R> resultor)
static <I, O, R extends Consumer<O> & XIterable<O>>
CqlQuery<I,O,R>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, R target)
default CqlIteration<I,O,R>
orderBy(Comparator<? super O> order)
default CqlIteration<I,O,R>
select(Predicate<? super I> selector)
default CqlIteration<I,O,R>
skip(Number count)
Methods inherited from interface one.microstream.util.cql.CqlQuery
execute, executeInto, executeInto, executeInto, executeInto, executeOn, executeSelection, getLimit, getOrder, getProjector, getResultor, getSelector, getSkip, getSource, into, into, into, over, project, targeting
-
Method Details
-
skip
-
limit
-
select
-
orderBy
-
from
-
iterate
Description copied from interface:XIterable
Executes the given procedure for each element of theXIterable
until all elements have been processed or the action throws an exception. Unless otherwise specified by the implementing class, procedures are performed in the order of iteration (if an iteration order is specified). Exceptions thrown by the procedure are relayed to the caller.
Should be identical toIterable.forEach(Consumer)
. -
New
-
New
-
New
static <I, O, R extends XIterable<O>> CqlQuery<I,O,R> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, Aggregator<O,R> aggregator) -
New
-
New
static <I, O, R extends XIterable<O>> CqlIteration<I,O,R> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, CqlResultor<O,R> resultor)
-