Package one.microstream.util.cql
Interface CqlQuery<I,O,R>
-
- All Known Subinterfaces:
CqlAggregation<I,R>
,CqlIteration<I,O,R>
,CqlProjection<I,O>
,CqlSelection<I>
,CqlTransfer<I,R>
- All Known Implementing Classes:
CqlAggregation.Default
,CqlIteration.Default
,CqlProjection.Default
,CqlQuery.Abstract
,CqlQuery.Default
,CqlSelection.Default
,CqlTransfer.Default
public interface CqlQuery<I,O,R>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CqlQuery.Abstract<I,O,R>
static class
CqlQuery.Default<I,O,R>
-
Method Summary
Modifier and Type Method Description default R
execute()
default O[]
executeInto(O[] target)
default O[]
executeInto(O[] target, int size)
default <P extends Consumer<O>>
PexecuteInto(XIterable<? extends I> source, P target)
default <P extends Consumer<O>>
PexecuteInto(P target)
default R
executeOn(XIterable<? extends I> source)
default <P extends Consumer<I>>
PexecuteSelection(XIterable<? extends I> source, P target)
default CqlQuery<I,O,R>
from(XIterable<? extends I> source)
default Long
getLimit()
default Comparator<? super O>
getOrder()
Function<? super I,O>
getProjector()
CqlResultor<O,R>
getResultor()
default Predicate<? super I>
getSelector()
default Long
getSkip()
default XIterable<? extends I>
getSource()
default <P extends Consumer<O> & XIterable<O>>
CqlIteration<I,O,P>into(Supplier<P> supplier)
default <X extends XIterable<O>>
CqlIteration<I,O,X>into(CqlResultor<O,X> resultor)
default <P extends Consumer<O> & XIterable<O>>
CqlIteration<I,O,P>into(P target)
default CqlQuery<I,O,R>
limit(Number count)
static <I,O,R>
CqlQuery<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>
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>
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, 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 CqlQuery<I,O,R>
orderBy(Comparator<? super O> order)
default <R1> CqlQuery<I,O,R1>
over(CqlResultor<O,R1> resultor)
default <P> CqlProjection<I,P>
project(Function<? super I,P> projector)
default CqlQuery<I,O,R>
select(Predicate<? super I> selector)
default CqlQuery<I,O,R>
skip(Number count)
default <R1> CqlQuery<I,O,R1>
targeting(Aggregator<O,R1> collector)
-
-
-
Method Detail
-
project
default <P> CqlProjection<I,P> project(Function<? super I,P> projector)
-
into
default <P extends Consumer<O> & XIterable<O>> CqlIteration<I,O,P> into(Supplier<P> supplier)
-
into
default <X extends XIterable<O>> CqlIteration<I,O,X> into(CqlResultor<O,X> resultor)
-
over
default <R1> CqlQuery<I,O,R1> over(CqlResultor<O,R1> resultor)
-
targeting
default <R1> CqlQuery<I,O,R1> targeting(Aggregator<O,R1> collector)
-
getSkip
default Long getSkip()
-
getLimit
default Long getLimit()
-
getResultor
CqlResultor<O,R> getResultor()
-
getOrder
default Comparator<? super O> getOrder()
-
execute
default R execute()
-
executeSelection
default <P extends Consumer<I>> P executeSelection(XIterable<? extends I> source, P target)
-
New
static <I,O,R> CqlQuery<I,O,R> New()
-
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)
-
New
static <I,O,R> 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
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)
-
New
static <I,O,R> 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, CqlResultor<O,R> resultor)
-
-