Package | Description |
---|---|
net.ontopia.persistence.query.sql |
Object model for representing SQL queries.
|
Modifier and Type | Class and Description |
---|---|
class |
SQLAnd
INTERNAL: SQL logical expression: and
|
class |
SQLEquals
INTERNAL: SQL condition: equals (=)
|
class |
SQLExists
INTERNAL: SQL condition: exists.
|
class |
SQLFalse
INTERNAL: SQL condition: expression that always evaluates to false
|
class |
SQLIn
INTERNAL: SQL condition: in.
|
class |
SQLIsNull
INTERNAL: SQL condition: is null
|
class |
SQLJoin
INTERNAL: SQL expression: join.
|
class |
SQLLike
INTERNAL: SQL condition: like
|
class |
SQLNot
INTERNAL: SQL logical expression: not
|
class |
SQLNotEquals
INTERNAL: SQL condition: not equals (!=)
|
class |
SQLOr
INTERNAL: SQL logical expression: or
|
class |
SQLSetOperation
INTERNAL: SQL set operation.
|
class |
SQLValueExpression
INTERNAL: SQL condition: equals (=)
|
class |
SQLVerbatimExpression
INTERNAL: Represents a verbatim SQL expression.
|
Modifier and Type | Field and Description |
---|---|
protected SQLExpressionIF |
SQLExists.expression |
protected SQLExpressionIF |
SQLNot.expression |
protected SQLExpressionIF[] |
SQLOr.expressions |
protected SQLExpressionIF[] |
SQLAnd.expressions |
protected SQLExpressionIF |
SQLQuery.filter |
Modifier and Type | Method and Description |
---|---|
protected void |
RedundantTablesSQLOptimizer.addTableColumns(SQLExpressionIF expr,
SQLColumns cols) |
protected void |
AbstractSQLAnalyzer.analyzeAggregate(SQLExpressionIF expr,
SQLAggregateIF sqlagg) |
protected void |
AbstractSQLAnalyzer.analyzeColumns(SQLExpressionIF expr,
SQLColumns value) |
protected void |
AbstractSQLAnalyzer.analyzeExpression(SQLExpressionIF sqlexpr) |
protected void |
GenericSQLGenerator.analyzeExpression(SQLExpressionIF expr,
Map tlevels,
Integer level) |
protected void |
AbstractSQLAnalyzer.analyzeExpressions(SQLExpressionIF[] exprs) |
protected void |
GenericSQLGenerator.analyzeExpressions(SQLExpressionIF[] exprs,
Map tlevels,
Integer level) |
protected void |
AbstractSQLAnalyzer.analyzeFunction(SQLExpressionIF expr,
SQLFunction value) |
protected void |
AbstractSQLAnalyzer.analyzeNull(SQLExpressionIF expr,
SQLNull value) |
protected void |
AbstractSQLAnalyzer.analyzeParameter(SQLExpressionIF expr,
SQLParameter value) |
protected void |
AbstractSQLAnalyzer.analyzePrimitive(SQLExpressionIF expr,
SQLPrimitive value) |
protected void |
AbstractSQLAnalyzer.analyzeTuple(SQLExpressionIF expr,
SQLTuple value) |
protected void |
AbstractSQLAnalyzer.analyzeValue(SQLExpressionIF expr,
SQLValueIF sqlvalue) |
protected void |
AbstractSQLAnalyzer.analyzeValues(SQLExpressionIF expr,
SQLValueIF[] values) |
protected void |
AbstractSQLAnalyzer.analyzeVerbatim(SQLExpressionIF expr,
SQLVerbatim value) |
protected StringBuilder |
GenericSQLGenerator.createFromClause(SQLExpressionIF filter,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected String |
GenericSQLGenerator.createStatement(SQLExpressionIF filter,
List selects,
boolean distinct,
int offset,
int limit,
List orderby,
boolean issetquery,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected String |
OracleSQLGenerator.createStatement(SQLExpressionIF filter,
List selects,
boolean distinct,
int offset,
int limit,
List orderby,
boolean issetquery,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
GenericSQLGenerator.createWhereClause(SQLExpressionIF filter,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected SQLExpressionIF |
FilterSQLOptimizer.filterExpression(SQLExpressionIF sqlexpr) |
protected SQLExpressionIF[] |
FilterSQLOptimizer.filterExpressions(SQLExpressionIF[] exprs) |
protected SQLExpressionIF |
SQLBuilder.makeOrExpression(SQLExpressionIF[] expressions) |
protected int |
BooleanSQLOptimizer.optimizeExpression(SQLExpressionIF sqlexpr) |
protected void |
GenericSQLGenerator.produceWhere(SQLExpressionIF filter,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
void |
SQLExists.setExpression(SQLExpressionIF expression) |
void |
SQLNot.setExpression(SQLExpressionIF expression) |
void |
SQLOr.setExpressions(SQLExpressionIF[] expressions) |
void |
SQLAnd.setExpressions(SQLExpressionIF[] expressions) |
void |
SQLQuery.setFilter(SQLExpressionIF filter) |
protected void |
GenericSQLGenerator.whereSQLExpressionIF(SQLExpressionIF[] nexprs,
String separator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
GenericSQLGenerator.whereSQLExpressionIF(SQLExpressionIF expr,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
Modifier and Type | Method and Description |
---|---|
protected SQLExpressionIF |
SQLBuilder.makeAndExpression(List<SQLExpressionIF> expressions) |
protected void |
SQLBuilder.produceAnd(JDOAnd and_expr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceBoolean(JDOBoolean boolean_expr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceContains(JDOValueIF left,
JDOValueIF right,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceEndsWith(JDOValueIF left,
JDOValueIF right,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceEquals(JDOValueIF left,
JDOValueIF right,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceExpression(JDOExpressionIF jdoexpr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceField(JDOField field,
SQLTable endtable,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected net.ontopia.persistence.query.sql.SQLBuilder.Values |
SQLBuilder.produceFieldValues(JDOField field,
SQLTable endtable,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceFunction(JDOFunction func,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceIsEmpty(JDOValueIF value,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceLike(JDOValueIF left,
JDOValueIF right,
boolean caseSensitive,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceLikeWithPattern(JDOValueIF left,
JDOValueIF right,
boolean caseSensitive,
List<SQLExpressionIF> expressions,
boolean starts_not_ends,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceNativeValue(JDONativeValue field,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceNot(JDONot not_expr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceNotEquals(JDOValueIF left,
JDOValueIF right,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceOr(JDOOr or_expr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceParameter(JDOParameter par,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLAggregateIF |
SQLBuilder.produceSelectSQLAggregateIF(JDOAggregateIF aggregate,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceSelectSQLValueIF(JDOValueIF value,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLOrderBy |
SQLBuilder.produceSQLOrderBy(JDOOrderBy orderby,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceStartsWith(JDOValueIF left,
JDOValueIF right,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceValue(JDOValueIF value,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected void |
SQLBuilder.produceValueExpression(JDOValueExpression jdoexpr,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF[] |
SQLBuilder.produceValues(JDOValueIF[] values,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected SQLValueIF |
SQLBuilder.produceVariable(JDOVariable var,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
protected net.ontopia.persistence.query.sql.SQLBuilder.Values |
SQLBuilder.produceVariableFieldValues(JDOValueIF root,
String[] path,
SQLTable endtable,
List<SQLExpressionIF> expressions,
net.ontopia.persistence.query.sql.SQLBuilder.BuildInfo info) |
Constructor and Description |
---|
SQLAnd(SQLExpressionIF[] expressions) |
SQLAnd(SQLExpressionIF expr1,
SQLExpressionIF expr2) |
SQLAnd(SQLExpressionIF expr1,
SQLExpressionIF expr2,
SQLExpressionIF expr3) |
SQLExists(SQLExpressionIF expression) |
SQLNot(SQLExpressionIF expression) |
SQLOr(SQLExpressionIF[] expressions) |
SQLOr(SQLExpressionIF expr1,
SQLExpressionIF expr2) |
SQLOr(SQLExpressionIF expr1,
SQLExpressionIF expr2,
SQLExpressionIF expr3) |