public class Q<T> extends Object
T - root entity type
JoinDescription| Constructor and Description |
|---|
Q() |
| Modifier and Type | Method and Description |
|---|---|
Q<T> |
addFeatures(QueryFeature... features) |
Q<T> |
addHint(String hint,
Object value) |
Q<T> |
distinct(boolean isDistinct) |
static <T> Q<T> |
from(com.mysema.query.types.EntityPath<T> from) |
List<QueryFeature> |
getFeatures() |
com.mysema.query.types.EntityPath<T> |
getFrom() |
com.mysema.query.types.Expression<?> |
getGroupBy() |
com.mysema.query.types.Predicate |
getHaving() |
LinkedHashMap<String,List<Object>> |
getHints() |
List<String> |
getJoinGraphs() |
Set<JoinDescription> |
getJoins() |
com.mysema.query.types.Predicate |
getWhere() |
Q<T> |
groupBy(com.mysema.query.types.Expression<?> groupBy) |
Q<T> |
having(com.mysema.query.types.Predicate having) |
boolean |
isDistinct() |
Q<T> |
joinGraphs(String... names) |
Q<T> |
joins(Collection<JoinDescription> joins) |
Q<T> |
joins(JoinDescription... joins) |
Q<T> |
rootEntityPath(com.mysema.query.types.EntityPath<T> rootEntityPath) |
Q<T> |
where(com.mysema.query.types.Predicate where) |
public static <T> Q<T> from(com.mysema.query.types.EntityPath<T> from)
public com.mysema.query.types.Predicate getWhere()
public com.mysema.query.types.Expression<?> getGroupBy()
public boolean isDistinct()
public com.mysema.query.types.Predicate getHaving()
public com.mysema.query.types.EntityPath<T> getFrom()
public Set<JoinDescription> getJoins()
public Q<T> joins(JoinDescription... joins)
public Q<T> joins(Collection<JoinDescription> joins)
public Q<T> addFeatures(QueryFeature... features)
public List<QueryFeature> getFeatures()
public LinkedHashMap<String,List<Object>> getHints()
Copyright © 2016. All rights reserved.