public final class QueryEntity<E extends Entity> extends Query<E,QueryEntity<E>> implements InnerQueryEntity<E>, EntitiesProvider<E>
_cache, _calcJoins, _groupBy, _nativeQuery, _unique, orderBy, refreshCasheWhenNoResult| Constructor and Description |
|---|
QueryEntity(QueryTarget target,
E entity) |
QueryEntity(QueryTarget target,
Map<String,Object> remote) |
QueryEntity(String nativeQuery,
QueryTarget target,
E entity) |
| Modifier and Type | Method and Description |
|---|---|
long |
countAny() |
long |
countBy(Count cnt) |
EntityByteBuffer<E> |
findByteBuffer() |
Optional<E> |
findFirst() |
Entities<E> |
findMany() |
QueryType |
getQueryType() |
InnerSelectManyEntities<E> |
innerResult()
Prepare Select to usage into Where clause as subselect
|
<E1 extends Entity,F,R extends EntityRelation> |
limitToField(Column<E1,F,R> field) |
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, waitgetEntityNameexists, findOne, forEach, mapjoin, 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, joinWherewhereAnd, 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 QueryEntity(QueryTarget target, Map<String,Object> remote)
public QueryEntity(QueryTarget target, E entity)
public QueryEntity(String nativeQuery, QueryTarget target, E entity)
public InnerSelectManyEntities<E> innerResult()
innerResult in interface InnerQueryEntity<E extends Entity>public long countBy(Count cnt)
public long countAny()
countAny in interface EntitiesProvider<E extends Entity>public Entities<E> findMany()
findMany in interface EntitiesProvider<E extends Entity>public Optional<E> findFirst()
findFirst in interface EntitiesProvider<E extends Entity>public <E1 extends Entity,F,R extends EntityRelation> InnerQueryField<E1,F> limitToField(Column<E1,F,R> field)
limitToField in interface InnerQueryEntity<E extends Entity>public EntityByteBuffer<E> findByteBuffer()
findByteBuffer in interface EntitiesProvider<E extends Entity>public QueryType getQueryType()
getQueryType in class Query<E extends Entity,QueryEntity<E extends Entity>>public String toSqlQuery()
toSqlQuery in class Query<E extends Entity,QueryEntity<E extends Entity>>Copyright © 2021. All rights reserved.