com.querydsl.core.ReactiveFetchableQuery Maven / Gradle / Ivy
The newest version!
package com.querydsl.core;
import com.querydsl.core.types.Expression;
import org.reactivestreams.Publisher;
/**
* {@code FetchableQuery} extends {@link ReactiveFetchable} and {@link SimpleQuery} with projection
* changing methods and result aggregation functionality using {@link ResultTransformer} instances.
*
* @param element type
* @param concrete subtype
*/
public interface ReactiveFetchableQuery>
extends SimpleQuery, ReactiveFetchable {
/**
* Change the projection of this query
*
* @param
* @param expr new projection
* @return the current object
*/
ReactiveFetchableQuery select(Expression expr);
/**
* Change the projection of this query
*
* @param exprs new projection
* @return the current object
*/
ReactiveFetchableQuery select(Expression>... exprs);
/**
* Apply the given transformer to this {@code ReactiveFetchableQuery} instance and return the
* results
*
* @param
* @param transformer result transformer
* @return transformed result
*/
Publisher transform(ReactiveResultTransformer transformer);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy