public class GenericSQLGenerator extends Object implements SQLGeneratorIF
Modifier and Type | Field and Description |
---|---|
protected static String |
AND |
protected static int |
INIT_WIDTH_FROM |
protected static int |
INIT_WIDTH_GROUP_BY |
protected static int |
INIT_WIDTH_ORDER_BY |
protected static int |
INIT_WIDTH_SELECT |
protected static int |
INIT_WIDTH_SQL |
protected static int |
INIT_WIDTH_WHERE |
protected int |
MAX_ELEMENTS_IN |
Modifier | Constructor and Description |
---|---|
protected |
GenericSQLGenerator(Map properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeExpression(SQLExpressionIF expr,
Map tlevels,
Integer level) |
protected void |
analyzeExpressions(SQLExpressionIF[] exprs,
Map tlevels,
Integer level) |
protected void |
analyzeOrderBy(List orderby,
Map tlevels,
Integer level) |
protected void |
analyzeQuery(SQLQuery sqlquery,
Map tlevels,
Integer level) |
protected void |
analyzeSelect(List selects,
Map tlevels,
Integer level) |
protected void |
analyzeValue(SQLValueIF value,
Map tlevels,
Integer level) |
protected void |
atomicSQLValueIF(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createFromClause(SQLExpressionIF filter,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createGroupByClause(net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createOffsetLimitClause(int offset,
int limit,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createOrderByClause(List orderby,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createSelectClause(List selects,
boolean distinct,
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 String |
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 |
createStatement(SQLQuery query,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected String |
createStatement(StringBuilder sql_select,
StringBuilder sql_where,
StringBuilder sql_from,
StringBuilder sql_group_by,
StringBuilder sql_order_by,
StringBuilder sql_offset_limit,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected StringBuilder |
createWhereClause(SQLExpressionIF filter,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
escapeString(String value,
StringBuilder sql) |
protected int |
flattenSQLValueIF(SQLValueIF[] values,
SQLValueIF[] flatlist,
int pos) |
protected int |
flattenSQLValueIF(SQLValueIF value,
SQLValueIF[] flatlist,
int pos) |
protected void |
fromSQLCrossJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSQLJoin_GENERIC(SQLJoin join,
String jointype,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSQLJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSQLLeftOuterJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSQLRightOuterJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSQLTable(SQLTable table,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
fromSubSelectAlias(StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected String |
getSetOperator(int operator) |
static SQLGeneratorIF |
getSQLGenerator(String[] platforms,
Map properties) |
static SQLGeneratorIF |
getSQLGenerator(String platform,
Map properties) |
protected boolean |
isFromLevel(SQLTable tbl,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected boolean |
isPatternFunction(SQLFunction func) |
protected void |
joinSQLValueIF(SQLValueIF value,
String separator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
produceFrom(StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
produceGroupBy(StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
produceOrderBy(List orderby,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
produceSelect(List selects,
boolean distinct,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
produceWhere(SQLExpressionIF filter,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLColumnsColumn(SQLTable table,
String column,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLFunction(SQLFunction func,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLPrimitive(SQLPrimitive primitive,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLTableAndAlias(SQLTable table,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLValueIFOpBinary(SQLValueIF value1,
String operator,
SQLValueIF value2,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
referenceSQLValueIFOpUnary(SQLValueIF value,
String operator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectColumnAlias(SQLAggregateIF aggregate,
StringBuilder sql) |
protected void |
selectColumnAlias(SQLValueIF value,
StringBuilder sql) |
protected void |
selectSQLAggregateIF(SQLAggregateIF aggregate,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectSQLColumns(SQLColumns columns,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info,
boolean nonagg) |
protected void |
selectSQLFunction(SQLFunction value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectSQLNull(SQLNull value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectSQLPrimitive(SQLPrimitive value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectSQLValueIF(SQLValueIF value,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
selectSQLVerbatim(SQLVerbatim value,
SQLValueIF refvalue,
boolean register,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
boolean |
supportsLimitOffset()
INTERNAL: Returns true if generator supports the functionality of
OFFSET/LIMIT.
|
protected void |
whereSQLAnd(SQLAnd and,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLCrossJoin_GENERIC(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLCrossJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLEquals(SQLEquals equals,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLExists(SQLExists exists,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo pinfo) |
protected void |
whereSQLExpressionIF(SQLExpressionIF[] nexprs,
String separator,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLExpressionIF(SQLExpressionIF expr,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLFalse(SQLFalse expr,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLIn(SQLIn in,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLIsNull(SQLIsNull is_null,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLLeftOuterJoin_GENERIC(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLLeftOuterJoin_ORACLE(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLLeftOuterJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLLike(SQLLike like,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLNot(SQLNot not,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLNotEquals(SQLNotEquals nequals,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLOr(SQLOr or,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLRightOuterJoin_GENERIC(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLRightOuterJoin_ORACLE(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLRightOuterJoin(SQLJoin join,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLSetOperation(SQLSetOperation setop,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLValueEqualsNull(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLValueExpression(SQLValueExpression expr,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLValueNotEqualsNull(SQLValueIF value,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected void |
whereSQLVerbatimExpression(SQLVerbatimExpression expr,
StringBuilder sql,
net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info) |
protected static final String AND
protected static final int INIT_WIDTH_SELECT
protected static final int INIT_WIDTH_FROM
protected static final int INIT_WIDTH_WHERE
protected static final int INIT_WIDTH_GROUP_BY
protected static final int INIT_WIDTH_ORDER_BY
protected static final int INIT_WIDTH_SQL
protected int MAX_ELEMENTS_IN
protected GenericSQLGenerator(Map properties)
public SQLStatementIF createSQLStatement(SQLQuery query)
SQLGeneratorIF
createSQLStatement
in interface SQLGeneratorIF
protected String createStatement(SQLQuery query, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected String 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 createSelectClause(List selects, boolean distinct, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected StringBuilder createWhereClause(SQLExpressionIF filter, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected StringBuilder createFromClause(SQLExpressionIF filter, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected StringBuilder createGroupByClause(net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected StringBuilder createOrderByClause(List orderby, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected StringBuilder createOffsetLimitClause(int offset, int limit, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected String createStatement(StringBuilder sql_select, StringBuilder sql_where, StringBuilder sql_from, StringBuilder sql_group_by, StringBuilder sql_order_by, StringBuilder sql_offset_limit, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void analyzeExpression(SQLExpressionIF expr, Map tlevels, Integer level)
protected void analyzeExpressions(SQLExpressionIF[] exprs, Map tlevels, Integer level)
protected void analyzeValue(SQLValueIF value, Map tlevels, Integer level)
protected void produceSelect(List selects, boolean distinct, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void produceGroupBy(StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void produceOrderBy(List orderby, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected boolean isFromLevel(SQLTable tbl, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void produceFrom(StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSubSelectAlias(StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void produceWhere(SQLExpressionIF filter, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectSQLAggregateIF(SQLAggregateIF aggregate, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectColumnAlias(SQLAggregateIF aggregate, StringBuilder sql)
protected void selectColumnAlias(SQLValueIF value, StringBuilder sql)
protected void selectSQLValueIF(SQLValueIF value, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectSQLColumns(SQLColumns columns, SQLValueIF refvalue, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info, boolean nonagg)
protected void selectSQLPrimitive(SQLPrimitive value, SQLValueIF refvalue, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectSQLNull(SQLNull value, SQLValueIF refvalue, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectSQLVerbatim(SQLVerbatim value, SQLValueIF refvalue, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void selectSQLFunction(SQLFunction value, SQLValueIF refvalue, boolean register, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLTable(SQLTable table, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLCrossJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLLeftOuterJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLRightOuterJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void fromSQLJoin_GENERIC(SQLJoin join, String jointype, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLExpressionIF(SQLExpressionIF expr, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLExpressionIF(SQLExpressionIF[] nexprs, String separator, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLAnd(SQLAnd and, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLOr(SQLOr or, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLNot(SQLNot not, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLFalse(SQLFalse expr, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLEquals(SQLEquals equals, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLNotEquals(SQLNotEquals nequals, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLValueEqualsNull(SQLValueIF value, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLValueNotEqualsNull(SQLValueIF value, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLIsNull(SQLIsNull is_null, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLLike(SQLLike like, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected boolean isPatternFunction(SQLFunction func)
protected void referenceSQLFunction(SQLFunction func, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLVerbatimExpression(SQLVerbatimExpression expr, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLValueExpression(SQLValueExpression expr, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLExists(SQLExists exists, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo pinfo)
protected void whereSQLIn(SQLIn in, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected String getSetOperator(int operator)
protected void whereSQLSetOperation(SQLSetOperation setop, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLCrossJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLCrossJoin_GENERIC(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLLeftOuterJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLLeftOuterJoin_GENERIC(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLLeftOuterJoin_ORACLE(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLRightOuterJoin(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLRightOuterJoin_GENERIC(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void whereSQLRightOuterJoin_ORACLE(SQLJoin join, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void referenceSQLValueIFOpUnary(SQLValueIF value, String operator, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void referenceSQLValueIFOpBinary(SQLValueIF value1, String operator, SQLValueIF value2, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void atomicSQLValueIF(SQLValueIF value, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void escapeString(String value, StringBuilder sql)
protected void joinSQLValueIF(SQLValueIF value, String separator, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected int flattenSQLValueIF(SQLValueIF[] values, SQLValueIF[] flatlist, int pos)
protected int flattenSQLValueIF(SQLValueIF value, SQLValueIF[] flatlist, int pos)
protected void referenceSQLPrimitive(SQLPrimitive primitive, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void referenceSQLTableAndAlias(SQLTable table, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
protected void referenceSQLColumnsColumn(SQLTable table, String column, StringBuilder sql, net.ontopia.persistence.query.sql.GenericSQLGenerator.BuildInfo info)
public boolean supportsLimitOffset()
SQLGeneratorIF
supportsLimitOffset
in interface SQLGeneratorIF
public static SQLGeneratorIF getSQLGenerator(String[] platforms, Map properties)
public static SQLGeneratorIF getSQLGenerator(String platform, Map properties)