Package one.microstream.util.cql
Interface CqlProjection<I,O>
- All Superinterfaces:
CqlIteration<I,O,XSequence<O>>
,CqlQuery<I,O,XSequence<O>>
,XIterable<O>
- All Known Subinterfaces:
CqlSelection<I>
- All Known Implementing Classes:
CqlProjection.Default
,CqlSelection.Default
public interface CqlProjection<I,O> extends CqlIteration<I,O,XSequence<O>>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CqlProjection.Default<I,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 CqlProjection<I,O>
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 CqlProjection<I,O>
limit(Number count)
static <I, O> CqlProjection<I,O>
New()
static <I, O> CqlProjection<I,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> CqlProjection<I,O>
New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, XSequence<O> target)
static <I, O> CqlProjection<I,O>
New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, Aggregator<O,XSequence<O>> aggregator)
static <I, O> CqlProjection<I,O>
New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, CqlResultor<O,XSequence<O>> resultor)
default CqlProjection<I,O>
orderBy(Comparator<? super O> order)
default CqlProjection<I,O>
select(Predicate<? super I> selector)
default CqlProjection<I,O>
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
static <I, O> CqlProjection<I,O> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator) -
New
static <I, O> CqlProjection<I,O> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, Aggregator<O,XSequence<O>> aggregator) -
New
static <I, O> CqlProjection<I,O> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, XSequence<O> target) -
New
static <I, O> CqlProjection<I,O> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Function<? super I,O> projector, Comparator<? super O> comparator, CqlResultor<O,XSequence<O>> resultor)
-