net.ontopia.persistence.query.sql
Class OracleSQLGenerator
java.lang.Object
net.ontopia.persistence.query.sql.GenericSQLGenerator
net.ontopia.persistence.query.sql.OracleSQLGenerator
- All Implemented Interfaces:
- SQLGeneratorIF
public class OracleSQLGenerator
- extends GenericSQLGenerator
INTERNAL: Oracle SQL statement generator.
Method Summary |
protected java.lang.StringBuffer |
createOffsetLimitClause(int offset,
int limit,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
SQLStatementIF |
createSQLStatement(SQLQuery query)
INTERNAL: Create a concrete SQL statement from the given abstract
SQL query. |
protected java.lang.String |
createStatement(SQLExpressionIF filter,
java.util.List selects,
boolean distinct,
int offset,
int limit,
java.util.List orderby,
boolean issetquery,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
protected void |
fromSQLLeftOuterJoin(SQLJoin join,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
protected void |
fromSQLRightOuterJoin(SQLJoin join,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
protected java.lang.String |
getSetOperator(int operator)
|
boolean |
supportsLimitOffset()
INTERNAL: Returns true if generator supports the functionality of
OFFSET/LIMIT. |
protected void |
whereSQLFalse(SQLFalse expr,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
protected void |
whereSQLLeftOuterJoin(SQLJoin join,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
protected void |
whereSQLRightOuterJoin(SQLJoin join,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
|
Methods inherited from class net.ontopia.persistence.query.sql.GenericSQLGenerator |
analyzeExpression, analyzeExpressions, analyzeOrderBy, analyzeQuery, analyzeSelect, analyzeValue, atomicSQLValueIF, createFromClause, createGroupByClause, createOrderByClause, createSelectClause, createStatement, createStatement, createWhereClause, escapeString, flattenSQLValueIF, flattenSQLValueIF, fromSQLCrossJoin, fromSQLJoin_GENERIC, fromSQLJoin, fromSQLLeftOuterJoin, fromSQLRightOuterJoin, fromSQLTable, fromSubSelectAlias, getSQLGenerator, getSQLGenerator, isFromLevel, isPatternFunction, joinSQLValueIF, produceFrom, produceGroupBy, produceOrderBy, produceSelect, produceWhere, referenceSQLColumnsColumn, referenceSQLFunction, referenceSQLPrimitive, referenceSQLTableAndAlias, referenceSQLValueIFOpBinary, referenceSQLValueIFOpUnary, selectColumnAlias, selectColumnAlias, selectSQLAggregateIF, selectSQLColumns, selectSQLFunction, selectSQLNull, selectSQLPrimitive, selectSQLValueIF, selectSQLVerbatim, whereSQLAnd, whereSQLCrossJoin_GENERIC, whereSQLCrossJoin, whereSQLEquals, whereSQLExists, whereSQLExpressionIF, whereSQLExpressionIF, whereSQLIn, whereSQLIsNull, whereSQLJoin, whereSQLLeftOuterJoin_GENERIC, whereSQLLeftOuterJoin_ORACLE, whereSQLLike, whereSQLNot, whereSQLNotEquals, whereSQLOr, whereSQLRightOuterJoin_GENERIC, whereSQLRightOuterJoin_ORACLE, whereSQLSetOperation, whereSQLValueEqualsNull, whereSQLValueExpression, whereSQLValueNotEqualsNull, whereSQLVerbatimExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createSQLStatement
public SQLStatementIF createSQLStatement(SQLQuery query)
- Description copied from interface:
SQLGeneratorIF
- INTERNAL: Create a concrete SQL statement from the given abstract
SQL query.
- Specified by:
createSQLStatement
in interface SQLGeneratorIF
- Overrides:
createSQLStatement
in class GenericSQLGenerator
createStatement
protected java.lang.String createStatement(SQLExpressionIF filter,
java.util.List selects,
boolean distinct,
int offset,
int limit,
java.util.List orderby,
boolean issetquery,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
- Overrides:
createStatement
in class GenericSQLGenerator
fromSQLLeftOuterJoin
protected void fromSQLLeftOuterJoin(SQLJoin join,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
fromSQLRightOuterJoin
protected void fromSQLRightOuterJoin(SQLJoin join,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
whereSQLLeftOuterJoin
protected void whereSQLLeftOuterJoin(SQLJoin join,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
- Overrides:
whereSQLLeftOuterJoin
in class GenericSQLGenerator
whereSQLRightOuterJoin
protected void whereSQLRightOuterJoin(SQLJoin join,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
- Overrides:
whereSQLRightOuterJoin
in class GenericSQLGenerator
getSetOperator
protected java.lang.String getSetOperator(int operator)
- Overrides:
getSetOperator
in class GenericSQLGenerator
createOffsetLimitClause
protected java.lang.StringBuffer createOffsetLimitClause(int offset,
int limit,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
- Overrides:
createOffsetLimitClause
in class GenericSQLGenerator
supportsLimitOffset
public boolean supportsLimitOffset()
- Description copied from interface:
SQLGeneratorIF
- INTERNAL: Returns true if generator supports the functionality of
OFFSET/LIMIT.
- Specified by:
supportsLimitOffset
in interface SQLGeneratorIF
- Overrides:
supportsLimitOffset
in class GenericSQLGenerator
whereSQLFalse
protected void whereSQLFalse(SQLFalse expr,
java.lang.StringBuffer sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
- Overrides:
whereSQLFalse
in class GenericSQLGenerator
Copyright © 2000-2012 Ontopia.