程序包 | 说明 |
---|---|
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.db.generic |
Generic (ANSI-SQL) implementation of the OpenCms database connector.
|
org.opencms.db.jpa |
限定符和类型 | 类和说明 |
---|---|
class |
CmsCompositeQueryFragment
A query fragment which aggregates the results from a list of other query fragments.
|
class |
CmsPagingQuery
Wrapper for
CmsSelectQuery objects which adds SQL code for results paging. |
class |
CmsSelectQuery
A class for generating SQL SELECT statements.
|
class |
CmsSimpleQueryFragment
A simple query fragment which takes its SQL string and query parameters as
constructor arguments.
|
class |
CmsSqlBooleanClause
Class for generating an SQL boolean expression.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsQueryFragment |
CmsSelectQuery.getOrdering()
Returns the fragment for the ORDER BY clause.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<I_CmsQueryFragment> |
CmsCompositeQueryFragment.getNodes()
Returns the wrapped query fragments.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsCompositeQueryFragment.add(I_CmsQueryFragment node)
Adds a new query fragment.
|
void |
CmsSelectQuery.addClause(I_CmsQueryFragment clause)
Adds another clause to the query.
|
void |
CmsSelectQuery.addColumn(I_CmsQueryFragment node)
Adds an expression which should be added as a column in the result set.
|
void |
CmsSelectQuery.addCondition(I_CmsQueryFragment node)
Adds a new condition to the query.
|
CmsSqlBooleanClause |
CmsSqlBooleanClause.addCondition(I_CmsQueryFragment fragment)
Adds an operand to the boolean expression.
|
static CmsSqlBooleanClause |
CmsSqlBooleanClause.makeAnd(I_CmsQueryFragment... fragments)
Creates a boolean "AND" expression.
|
static CmsSqlBooleanClause |
CmsSqlBooleanClause.makeOr(I_CmsQueryFragment... fragments)
Creates a boolean "OR" expression.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsQueryFragment |
CmsUserQueryBuilder.createCoreCondition(CmsSelectQuery.TableAlias users)
Creates a core user check condition.
|
protected I_CmsQueryFragment |
CmsUserQueryBuilder.createFlagCondition(CmsSelectQuery.TableAlias users,
int flags)
Creates an SQL flag check condition.
|
限定符和类型 | 方法和说明 |
---|---|
protected I_CmsQueryFragment |
CmsJpaUserQueryBuilder.createFlagCondition(CmsSelectQuery.TableAlias users,
int flags) |