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, whereclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexists, filter, findOne, forEach, mapgetEntityName, 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, setJoinswhereAnd, 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, whereOrorderAscBy, orderBy, orderBy, orderDescBylimitBy, limitBy, limitBy, page, setLimit, setTempPagehaving, 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, havingORpublic 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 PlateProviderpublic long countBy(Count cnt)
public FieldsProvider<FlatPlate> flat()
public Plates findMany()
findMany in interface PlateProviderpublic Optional<Plate> findFirst()
findFirst in interface PlateProviderpublic 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.