Package org.dellroad.querystream.jpa
Interface QueryConfigurer<C extends CommonAbstractCriteria,X,S extends Selection<X>>
- Type Parameters:
C
- criteria query typeX
- target/result typeS
- target/result criteria type
- All Known Subinterfaces:
BooleanValue
,DeleteStream<X>
,DoubleStream
,DoubleValue
,ExprStream<X,
,S> ExprValue<X,
,S> FromStream<X,
,S> FromValue<X,
,S> IntStream
,IntValue
,LongStream
,LongValue
,PathStream<X,
,S> PathValue<X,
,S> QueryStream<X,
,S, C, C2, Q> RootStream<X>
,RootValue<X>
,SearchStream<X,
,S> SearchValue<X,
,S> UpdateStream<X>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface QueryConfigurer<C extends CommonAbstractCriteria,X,S extends Selection<X>>
Configures a critiera query of some kind.
-
Method Summary
Modifier and TypeMethodDescriptionconfigure
(CriteriaBuilder builder, C query) Configure the given query.
-
Method Details
-
configure
Configure the given query.- Parameters:
builder
- criteria builderquery
- the query to configure- Returns:
- selection for query target/result
-