Search in sources :

Example 1 with OrScopeQueryAndPartQueryClause

use of org.dbflute.cbean.sqlclause.query.OrScopeQueryAndPartQueryClause in project dbflute-core by dbflute.

the class AbstractSqlClause method markOrScopeQueryAndPart.

protected void markOrScopeQueryAndPart(List<QueryClause> clauseList) {
    if (_orScopeQueryEffective && _orScopeQueryAndPartEffective && !clauseList.isEmpty()) {
        // as latest
        final QueryClause original = clauseList.remove(clauseList.size() - 1);
        clauseList.add(new OrScopeQueryAndPartQueryClause(original, _orScopeQueryAndPartIdentity));
    }
}
Also used : OrScopeQueryAndPartQueryClause(org.dbflute.cbean.sqlclause.query.OrScopeQueryAndPartQueryClause) QueryClause(org.dbflute.cbean.sqlclause.query.QueryClause) OrScopeQueryAndPartQueryClause(org.dbflute.cbean.sqlclause.query.OrScopeQueryAndPartQueryClause) StringQueryClause(org.dbflute.cbean.sqlclause.query.StringQueryClause)

Aggregations

OrScopeQueryAndPartQueryClause (org.dbflute.cbean.sqlclause.query.OrScopeQueryAndPartQueryClause)1 QueryClause (org.dbflute.cbean.sqlclause.query.QueryClause)1 StringQueryClause (org.dbflute.cbean.sqlclause.query.StringQueryClause)1