public final class QueryField<E extends Entity,F> extends Query<E,QueryField<E,F>> implements InnerQueryField<E,F>, ManyCellsProvider<F>, QueryJoin<QueryField<E,F>>
_cache, _calcJoins, _groupBy, _nativeQuery, _unique, orderBy, refreshCasheWhenNoResult| Constructor and Description |
|---|
QueryField(QueryTarget target,
Column<E,F,?> column) |
QueryField(QueryTarget target,
ColumnFunction<E,?,?,?> column) |
QueryField(QueryTarget target,
Map<String,Object> remote) |
QueryField(String nativeQuery,
QueryTarget target,
Column<E,?,?> column) |
| Modifier and Type | Method and Description |
|---|---|
DummyColumnRelation<Dual,String,EntityRelation> |
as(String asName) |
<F> DummyColumnRelation<Dual,F,EntityRelation> |
as(String asName,
Class<F> clazz) |
long |
countAny()
Count all record
Equivalent of count(*)
|
long |
countBy(Count cnt) |
Optional<F> |
findFirst() |
List<F> |
findMany() |
QueryType |
getQueryType() |
Query |
getSelect() |
InnerSelectManyCells<E,F> |
innerResult() |
boolean |
isResultCached() |
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 QueryField(QueryTarget target, Column<E,F,?> column)
public QueryField(QueryTarget target, ColumnFunction<E,?,?,?> column)
public QueryField(QueryTarget target, Map<String,Object> remote)
public QueryField(String nativeQuery, QueryTarget target, Column<E,?,?> column)
public DummyColumnRelation<Dual,String,EntityRelation> as(String asName)
public <F> DummyColumnRelation<Dual,F,EntityRelation> as(String asName, Class<F> clazz)
public InnerSelectManyCells<E,F> innerResult()
innerResult in interface InnerQueryField<E extends Entity,F>public long countBy(Count cnt)
public long countAny()
countAny in interface FieldsProvider<F>public List<F> findMany()
findMany in interface FieldsProvider<F>public Optional<F> findFirst()
findFirst in interface FieldsProvider<F>public Query getSelect()
getSelect in interface QueryExpressionProviderpublic boolean isResultCached()
isResultCached in interface QueryExpressionProviderpublic QueryType getQueryType()
getQueryType in class Query<E extends Entity,QueryField<E extends Entity,F>>public String toSqlQuery()
toSqlQuery in class Query<E extends Entity,QueryField<E extends Entity,F>>Copyright © 2021. All rights reserved.