Package | Description |
---|---|
com.speedment.runtime.core.component.sql |
The
SqlPersistenceComponent , SqlPersistenceComponent and
related classes are located in this package. |
com.speedment.runtime.core.component.sql.override.doubles |
Pluggable terminating operation interfaces of
double type are located in this package. |
com.speedment.runtime.core.component.sql.override.ints |
Pluggable terminating operation interfaces of
int type are located in this package. |
com.speedment.runtime.core.component.sql.override.longs |
Pluggable terminating operation interfaces of
long type are located in this package. |
com.speedment.runtime.core.component.sql.override.reference |
Pluggable terminating operation interfaces of reference type are located in this package.
|
Modifier and Type | Method and Description |
---|---|
static <ENTITY> SqlStreamOptimizerInfo<ENTITY> |
SqlStreamOptimizerInfo.of(DbmsType dbmsType,
String sqlSelect,
String sqlSelectCount,
ToLongBiFunction<String,List<Object>> counter,
Function<Field<ENTITY>,String> sqlColumnNamer,
Function<Field<ENTITY>,Class<?>> sqlDatabaseTypeFunction) |
Modifier and Type | Method and Description |
---|---|
<P extends Pipeline> |
SqlStreamOptimizer.optimize(P initialPipeline,
SqlStreamOptimizerInfo<ENTITY> info,
AsynchronousQueryResult<ENTITY> query)
Returns an optimized pipeline, potentially by modifying the query.
|
Modifier and Type | Method and Description |
---|---|
<T> long |
DoubleCountTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.DoublePipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
<T> long |
IntCountTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.IntPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
<T> long |
LongCountTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.LongPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
<T> long |
CountTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Optional<T> |
FindFirstTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Spliterator<T> |
SpliteratorTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Iterator<T> |
IteratorTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Object[] |
ToArrayTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Optional<T> |
FindAnyTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline) |
<T> Optional<T> |
ReduceTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
BinaryOperator<T> accumulator) |
<T,R,A> R |
CollectTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Collector<? super T,A,R> collector) |
<T> Optional<T> |
MaxTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Comparator<? super T> comparator) |
<T> Optional<T> |
MinTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Comparator<? super T> comparator) |
<T> void |
ForEachOrderedTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Consumer<? super T> action) |
<T> void |
ForEachTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Consumer<? super T> action) |
<T,A> A[] |
ToArrayGeneratorTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
IntFunction<A[]> generator) |
<T> boolean |
NoneMatchTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Predicate<? super T> predicate) |
<T> boolean |
AllMatchTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Predicate<? super T> predicate) |
<T> boolean |
AnyMatchTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Predicate<? super T> predicate) |
<T,R> R |
CollectSupplierAccumulatorCombinerTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
Supplier<R> supplier,
BiConsumer<R,? super T> accumulator,
BiConsumer<R,R> combiner) |
<T> T |
ReduceIdentityTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
T identity,
BinaryOperator<T> accumulator) |
<T,U> U |
ReduceIdentityCombinerTerminator.apply(SqlStreamOptimizerInfo<ENTITY> info,
com.speedment.runtime.core.internal.manager.sql.SqlStreamTerminator<ENTITY> sqlStreamTerminator,
com.speedment.runtime.core.internal.stream.builder.pipeline.ReferencePipeline<T> pipeline,
U identity,
BiFunction<U,? super T,U> accumulator,
BinaryOperator<U> combiner) |
Copyright © 2019 Speedment, Inc.. All rights reserved.