Package one.microstream.util.cql
Interface CqlSelection<I>
- All Superinterfaces:
CqlIteration<I,I,XSequence<I>>,CqlProjection<I,I>,CqlQuery<I,I,XSequence<I>>,CqlTransfer<I,XSequence<I>>,XIterable<I>
- All Known Implementing Classes:
CqlSelection.Default
public interface CqlSelection<I> extends CqlProjection<I,I>, CqlTransfer<I,XSequence<I>>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCqlSelection.Default<I>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 CqlSelection<I>from(XIterable<? extends I> source)default <X extends XIterable<I>>
CqlTransfer<I,X>into(CqlResultor<I,X> resultor)default <P extends Consumer<I> & XIterable<I>>
CqlTransfer<I,P>into(P target)default <P extends Consumer<? super I>>
Piterate(P procedure)Executes the given procedure for each element of theXIterableuntil all elements have been processed or the action throws an exception.default CqlSelection<I>limit(Number count)static <I> CqlSelection<I>New()static <I> CqlSelection<I>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator)static <I> CqlSelection<I>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator, XSequence<I> target)static <I> CqlSelection<I>New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator, CqlResultor<I,XSequence<I>> resultor)default CqlSelection<I>orderBy(Comparator<? super I> order)default <R1> CqlAggregation<I,R1>over(CqlResultor<I,R1> resultor)default CqlSelection<I>select(Predicate<? super I> selector)default CqlSelection<I>skip(Number count)Methods inherited from interface one.microstream.util.cql.CqlQuery
executeInto, executeInto, executeInto, executeSelection, getLimit, getOrder, getProjector, getResultor, getSelector, getSkip, getSource, into, project, targetingMethods inherited from interface one.microstream.util.cql.CqlTransfer
execute, executeInto, executeOn
-
Method Details
-
skip
-
limit
-
select
-
from
-
orderBy
-
into
-
into
-
over
-
iterate
Description copied from interface:XIterableExecutes the given procedure for each element of theXIterableuntil 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).- Specified by:
iteratein interfaceCqlIteration<I,I,XSequence<I>>- Specified by:
iteratein interfaceCqlProjection<I,I>- Specified by:
iteratein interfaceCqlTransfer<I,XSequence<I>>- Specified by:
iteratein interfaceXIterable<I>- Type Parameters:
P- type of procedure- Parameters:
procedure- The procedure to be performed for each element- Returns:
- Given procedure
-
New
-
New
static <I> CqlSelection<I> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator) -
New
static <I> CqlSelection<I> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator, XSequence<I> target) -
New
static <I> CqlSelection<I> New(XIterable<? extends I> source, Long skip, Long limit, Predicate<? super I> selector, Comparator<? super I> comparator, CqlResultor<I,XSequence<I>> resultor)
-