public final class QueryPlate extends Query<Entity,QueryPlate> implements QueryExpressionProvider<Entity,QueryPlate>, PlateProvider, QueryJoin<QueryPlate>
_cache, _calcJoins, _groupBy, _nativeQuery, _unique, orderBy, refreshCasheWhenNoResult
Constructor and Description |
---|
QueryPlate(QueryTarget target,
Column<? extends Entity,?,?>[] columndaos) |
QueryPlate(QueryTarget target,
Entity... entities) |
QueryPlate(QueryTarget target,
List<Column<? extends Entity,?,?>> columndaos) |
QueryPlate(QueryTarget target,
Map<String,Object> remote) |
QueryPlate(String nativeQuery,
QueryTarget target,
Column<? extends Entity,?,?>[] columndaos) |
Modifier and Type | Method and Description |
---|---|
long |
countAny() |
long |
countBy(Count cnt) |
Optional<Plate> |
findFirst() |
Optional<FlatPlate> |
findFirstAsFlat() |
Plates |
findMany() |
<M extends EntityMap> |
findManyAs(Class<M> clazz) |
FlatPlates |
findManyAsFlat() |
<M extends EntityMap> |
findOneAs(Class<M> clazz) |
FlatPlate |
findOneAsFlat() |
FieldsProvider<FlatPlate> |
flat() |
QueryType |
getQueryType() |
List<Entity> |
getRelatedEntities() |
Query |
getSelect() |
boolean |
isResultCached() |
boolean |
isSingleEntity() |
void |
setSingleEntity(boolean singleEntity) |
String |
toSqlQuery() |
addSetOperator, clone, distinct, doIf, doIfElse, fromRemote, geNativeQuery, getAllEntitiesRelated, getCount, getEntityClass, getEntityName, getFields, getGroupBy, getHavingWrapper, getIdentifier, getIdentifierStorage, getInfoColumn, getInfoColumn, getJoins, getLimit, getLog, getOrderBy, getSentQuery, getSetOperatorList, getTarget, getWhereWrapper, groupBy, handleException, having, init, init, isLogQueryEnabled, logQuery, modifyQuery, noCache, orderBy, setEntityClass, setEntityName, setFields, setHavingWrapper, setIdentifier, setIdentifierStorage, setJoins, setSentQuery, setTarget, setTempCount, setTempLimit, setWhereWrapper, smartJoins, toRemote, where
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exists, filter, findOne, forEach, map
getEntityName, getJoins, getTarget, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinByFlag1, joinByFlag1, joinByFlag2, joinByFlag2, joinByFlag3, joinByFlag3, joinByFlag4, joinByFlag4, joinByPk, joinByPk, joinPk, joinPk, joinPk, joinRoute, joinRoute, joinThrough, joinThrough, joinWhere, joinWhere, setJoins
whereAnd, whereBetween, whereBetween, whereEqual, whereEqual, whereEqual, whereEqual, whereEqual, whereEqual, whereGreater, whereGreater, whereGreater, whereGreater, whereGreater, whereGreaterOrEqual, whereGreaterOrEqual, whereGreaterOrEqual, whereGreaterOrEqual, whereGreaterOrEqual, whereIfNotNull, whereIn, whereIn, whereIn, whereIn, whereIn, whereIsNull, whereLess, whereLess, whereLess, whereLess, whereLess, whereLessOrEqual, whereLessOrEqual, whereLessOrEqual, whereLessOrEqual, whereLessOrEqual, whereLike, whereLike, whereLike, whereNotEqual, whereNotEqual, whereNotEqual, whereNotEqual, whereNotEqual, whereNotIn, whereNotIn, whereNotIn, whereNotIn, whereNotIn, whereNotLike, whereNotLike, whereNotNull, whereOR, whereOr
orderAscBy, orderBy, orderBy, orderDescBy
limitBy, limitBy, limitBy, page, setLimit, setTempPage
having, having, having, havingAnd, havingBetween, havingBetween, havingEqual, havingEqual, havingEqual, havingEqual, havingEqual, havingGreater, havingGreater, havingGreater, havingGreater, havingGreaterOrEqual, havingGreaterOrEqual, havingGreaterOrEqual, havingGreaterOrEqual, havingIfNotNull, havingIn, havingIn, havingIn, havingIsNotNull, havingIsNull, havingLess, havingLess, havingLess, havingLess, havingLessOrEqual, havingLessOrEqual, havingLessOrEqual, havingLessOrEqual, havingLike, havingNotEqual, havingNotEqual, havingNotEqual, havingNotIn, havingNotIn, havingNotIn, havingOR
public QueryPlate(QueryTarget target, Map<String,Object> remote)
public QueryPlate(QueryTarget target, Entity... entities)
public QueryPlate(QueryTarget target, Column<? extends Entity,?,?>[] columndaos)
public QueryPlate(QueryTarget target, List<Column<? extends Entity,?,?>> columndaos)
public QueryPlate(String nativeQuery, QueryTarget target, Column<? extends Entity,?,?>[] columndaos)
public long countAny()
countAny
in interface PlateProvider
public long countBy(Count cnt)
public FieldsProvider<FlatPlate> flat()
public Plates findMany()
findMany
in interface PlateProvider
public Optional<Plate> findFirst()
findFirst
in interface PlateProvider
public FlatPlates findManyAsFlat()
public FlatPlate findOneAsFlat()
public Query getSelect()
getSelect
in interface QueryExpressionProvider<Entity,QueryPlate>
public boolean isResultCached()
isResultCached
in interface QueryExpressionProvider<Entity,QueryPlate>
public boolean isSingleEntity()
public void setSingleEntity(boolean singleEntity)
public QueryType getQueryType()
getQueryType
in class Query<Entity,QueryPlate>
public String toSqlQuery()
toSqlQuery
in class Query<Entity,QueryPlate>
Copyright © 2021. All rights reserved.