abstractpublic void addGlobalCondition(Parameter param, int columnId, int comparisonType) throws SQLException(Code)
Add a condition to the query. This is used for views.
Parameters: param - the parameter Parameters: columnId - the column index (0 meaning the first column) Parameters: comparisonType - the comparison type
Get the alias (or column name) of the first column.
This is used to convert IN(SELECT ...) queries to inner joins.
Parameters: session - the session the alias or column name
getMaxDataModificationId
final public long getMaxDataModificationId()(Code)
Check if this expression and all sub-expressions can fulfill a criteria.
If any part returns false, the result is false.
Parameters: visitor - the visitor if the criteria can be fulfilled
isEverything
final public boolean isEverything(int expressionVisitorType)(Code)
Visit all expressions and subqueries in this query using the visitor pattern.
Parameters: expressionVisitorType - the visitor type true if no component returned false
Map the columns to the given column resolver.
Parameters: resolver - the resolver Parameters: level - the subquery level (0 is the top level query, 1 is the firstsubquery level)
Create a
SortOrder object given the list of
SelectOrderBy objects. The expression list is extended if necessary.
Parameters: orderList - a list of SelectOrderBy elements Parameters: expressionCount - the number of columns in the query the SortOrder object