public abstract class AbstractSubQuery<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,CMD_FACTORY extends CmdFactory> extends AbstractQuery<SELF,CMD_FACTORY> implements ISubQuery<SELF,Table,TableField,DatasetField,Cmd,Object,CMD_FACTORY,ConditionChain,With,Select,From,Join,On,Joins<Join>,Where,GroupBy,Having,OrderBy,Limit,ForUpdate,Union>, IDataset<SELF,DatasetField>
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
alias |
$, conditionFactory, fetchEnables, fetchFilters, forUpdate, from, groupBy, having, joins, limit, orderBy, select, unions, where, withscmds| 构造器和说明 |
|---|
AbstractSubQuery(CMD_FACTORY $) |
AbstractSubQuery(Where where) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <E,DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> |
$(IDataset<DATASET,DATASET_FIELD> dataset,
Getter<E> getter) |
protected <DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> |
$(IDataset<DATASET,DATASET_FIELD> dataset,
String columnName) |
DatasetField |
$(String columnName) |
<E> DatasetField |
$outerField(Getter<E> getter)
外部字段
|
<E> DatasetField |
$outerField(Getter<E> getter,
boolean depth)
外部字段
|
DatasetField |
$outerField(IDataset root,
AbstractSubQuery subQuery,
TableField tableField) |
DatasetField |
$outerField(String columnName) |
String |
getAlias() |
StringBuilder |
sql(Cmd module,
Cmd parent,
SqlBuilderContext context,
StringBuilder sqlBuilder) |
$, $, $, $, $, $, $, $forUpdate, $from, $groupBy, $having, $join, $limit, $orderBy, $select, $unions, $where, $with, and, ascOrderByDirection, crossJoin, crossJoin, crossJoin, descOrderByDirection, fetchEnable, fetchFilter, from, getFetchEnables, getFetchFilters, getForUpdate, getFrom, getGroupBy, getHaving, getJoins, getLimit, getOrderBy, getSelect, getUnions, getWhere, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, havingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingOr, havingOr, havingOr, havingOr, havingOr, havingOr, initCmdSorts, join, join, join, join, or, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, removeLimit, select, select, select, select, select, select, select, select, select, selectCount1, selectCount1, selectCountAll, selectCountAll, setFetchEnables, setFetchFilters, union, unionAllappend, cmds, cmdSorts, contain, dbAdapt, selectorExecuteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$, $forUpdate, $from, $groupBy, $having, $limit, $orderBy, $select, $where, $with, conditionChain, fetchEnable, fetchFilter, forSearch, forSearch, forUpdate, from, from, getFetchEnables, getFetchFilters, getForUpdate, getFrom, getGroupBy, getHaving, getJoins, getLimit, getOrderBy, getSelect, getUnions, getWhere, groupBy, groupBy, groupBy, having, havingAnd, havingOr, limit, limit, orderBy, removeLimit, select, select, selectDistinct, selectIgnore, where, withselect, select, select, select1, selectAll, selectAll, selectCount1, selectCount1, selectCountAll, selectCountAll, selectIgnore, selectIgnore, selectIgnoreselect, select, select, select, selectselect, select, select, select, select, select, selectselect, select, select, select, select, select, select, selectselect, select, select, select, select, selectselect, select, select, selectselect, select, select, selectselect, select, select$join, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoinignoreEmptyInCondition, ignoreNullValueInCondition, trimStringInConditionand, and, and, and, and, and, and, and, and, and, and, and, andNested, between, between, empty, empty, eq, eq, eq, exists, exists, gt, gt, gt, gte, gte, gte, iLike, iLike, in, in, in, in, in, in, isNotNull, isNotNull, isNull, isNull, like, like, lt, lt, lt, lte, lte, lte, ne, ne, ne, notBetween, notBetween, notEmpty, notEmpty, notExists, notExists, notILike, notILike, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, or, or, or, or, or, or, or, or, or, or, or, or, orNested$conditionWhenFalseRV, between, empty, empty, empty, eq, gt, gte, iLike, iLike, iLike, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, like, like, like, lt, lte, ne, notBetween, notEmpty, notEmpty, notEmpty, notILike, notILike, notILike, notLike, notLike, notLikeeq, eqne, negt, gtgte, gte, gte, gte, gte, gtegte, gtelt, ltlte, lte, lte, lte, lte, ltelte, ltelike, like, like, like, like, like, likelike, like, like, likenotLike, notLike, notLike, notLike, notLike, notLike, notLikenotLike, notLike, notLike, notLikeiLike, iLike, iLike, iLike, iLike, iLike, iLikeiLike, iLike, iLike, iLikenotILike, notILike, notILike, notILike, notILike, notILike, notILikenotILike, notILike, notILike, notILikebetween, between, between, between, betweenbetween, between, between, between, between, between, between, between, betweennotBetween, notBetween, notBetween, notBetween, notBetweennotBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetweenisNull, isNullisNotNull, isNotNullempty, empty, emptynotEmpty, notEmpty, notEmptyin, in, in, in, in, in, in, in, innotIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInexists, exists, exists, exists, notExists, notExists, notExists, notExistsgroupBy, groupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupBy, groupBygroupBy, groupBy, groupByhaving, having, having, having, having, having, having, having, having, having, having, having, having, having, having, havinghavingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAndhavingAnd, havingAnd, havingAnd, havingAnd, havingAnd, havingAndhavingOr, havingOr, havingOr, havingOr, havingOr, havingOr, havingOr, havingOr, havingOrhavingOr, havingOr, havingOr, havingOr, havingOr, havingOrorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDesc, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderByDesc, orderByDescorderBy, orderBy, orderBy, orderBy, orderByDesc, orderByDescforUpdateunion, unionAllcmds, cmdSorts, comparator, connect, connect, getSQLListeners, selectorExecute, sortedCmdsprotected String alias
public AbstractSubQuery(CMD_FACTORY $)
public AbstractSubQuery(Where where)
public String getAlias()
getAlias 在接口中 Alias<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>>public DatasetField $(String columnName)
$ 在接口中 IDataset<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,DatasetField>protected <E,DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> DATASET_FIELD $(IDataset<DATASET,DATASET_FIELD> dataset, Getter<E> getter)
$ 在类中 AbstractQuery<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,CMD_FACTORY extends CmdFactory>protected <DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> DATASET_FIELD $(IDataset<DATASET,DATASET_FIELD> dataset, String columnName)
$ 在类中 AbstractQuery<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,CMD_FACTORY extends CmdFactory>public DatasetField $outerField(String columnName)
public DatasetField $outerField(IDataset root, AbstractSubQuery subQuery, TableField tableField)
public <E> DatasetField $outerField(Getter<E> getter)
E - getter - public <E> DatasetField $outerField(Getter<E> getter, boolean depth)
E - getter - depth - 是否深度引用,非深度引用只是 别名.getter的对应的列名;如果是深度的匹配(只能针对那些没有包装过的字段)public StringBuilder sql(Cmd module, Cmd parent, SqlBuilderContext context, StringBuilder sqlBuilder)
sql 在接口中 Cmdsql 在接口中 IExecutor<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,Table,TableField>sql 在类中 AbstractQuery<SELF extends AbstractSubQuery<SELF,CMD_FACTORY>,CMD_FACTORY extends CmdFactory>Copyright © 2025. All rights reserved.