cz.encircled.joiner.query.JoinerQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joiner-core Show documentation
Show all versions of joiner-core Show documentation
Joiner is a Java library which allows to create type-safe JPA queries.
package cz.encircled.joiner.query;
import com.querydsl.core.QueryMetadata;
import com.querydsl.core.types.EntityPath;
import com.querydsl.core.types.Expression;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.Predicate;
import com.querydsl.core.types.SubQueryExpression;
import com.querydsl.core.types.dsl.CollectionPathBase;
import cz.encircled.joiner.query.join.JoinDescription;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;
/**
* Base interface which defines possible parameters of joiner query
* T - select from
* R - projection type
*
* @author Vlad on 04-Sep-16.
*/
public interface JoinerQuery extends JoinRoot, SubQueryExpression {
EntityPath getFrom();
Expression getReturnProjection();
JoinerQuery where(Predicate where);
Predicate getWhere();
JoinerQuery distinct(boolean isDistinct);
boolean isDistinct();
JoinerQuery groupBy(Path> groupBy);
Path> getGroupBy();
JoinerQuery having(Predicate having);
Predicate getHaving();
/**
* Add join graphs to the query.
*
* @param names names of join graphs
* @return this
* @see cz.encircled.joiner.query.join.JoinGraphRegistry
*/
JoinerQuery joinGraphs(String... names);
/**
* Add join graphs to the query.
*
* @param names names of join graphs
* @return this
* @see cz.encircled.joiner.query.join.JoinGraphRegistry
*/
JoinerQueryBase joinGraphs(Enum... names);
/**
* Add join graphs to the query.
*
* @param names names of join graphs
* @return this
* @see cz.encircled.joiner.query.join.JoinGraphRegistry
*/
JoinerQueryBase joinGraphs(Collection> names);
Set
© 2015 - 2025 Weber Informatics LLC | Privacy Policy