mondrian.spi.impl
Class Db2OldAs400Dialect
java.lang.Object
mondrian.spi.impl.JdbcDialectImpl
mondrian.spi.impl.Db2Dialect
mondrian.spi.impl.Db2OldAs400Dialect
- All Implemented Interfaces:
- Dialect
public class Db2OldAs400Dialect
- extends Db2Dialect
Implementation of Dialect for old versions of the IBM
DB2/AS400 database. Modern versions of DB2/AS400 use
Db2Dialect.
- Since:
- Nov 23, 2008
- Author:
- jhyde
- See Also:
Db2Dialect
|
Method Summary |
boolean |
allowsFromQuery()
Returns whether this Dialect allows a subquery in the from clause,
for example
SELECT * FROM (SELECT * FROM t) AS
x |
| Methods inherited from class mondrian.spi.impl.JdbcDialectImpl |
allowsAs, allowsCompoundCountDistinct, allowsCountDistinct, allowsDdl, allowsDialectSharing, allowsJoinOn, allowsMultipleCountDistinct, allowsMultipleDistinctSqlMeasures, allowsOrderByAlias, allowsRegularExpressionInWhereClause, allowsSelectNotInGroupBy, appendHintsAfterFromClause, caseWhenElse, deduceIdentifierQuoteString, deduceMaxColumnNameLength, deduceProductName, deduceProductVersion, deduceReadOnly, deduceSupportedResultSetStyles, deduceSupportsSelectNotInGroupBy, generateCountExpression, generateInline, generateInlineForAnsi, generateInlineGeneric, generateOrderByNulls, generateOrderByNullsAnsi, generateOrderItem, generateOrderItem, generateRegularExpression, getDatabaseProduct, getMaxColumnNameLength, getProduct, getQuoteIdentifierString, needsExponent, quote, quoteBooleanLiteral, quoteDateLiteral, quoteDateLiteral, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteNumericLiteral, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteral, requiresAliasForFromQuery, requiresGroupByAlias, requiresHavingAlias, requiresUnionOrderByExprToBeInSelectClause, requiresUnionOrderByOrdinal, supportsGroupByExpressions, supportsMultiValueInExpr, supportsResultSetConcurrency, supportsUnlimitedValueList, toString |
FACTORY
public static final JdbcDialectFactory FACTORY
Db2OldAs400Dialect
public Db2OldAs400Dialect(Connection connection)
throws SQLException
- Creates a Db2OldAs400Dialect.
- Parameters:
connection - Connection
- Throws:
SQLException
allowsFromQuery
public boolean allowsFromQuery()
- Description copied from interface:
Dialect
- Returns whether this Dialect allows a subquery in the from clause,
for example
SELECT * FROM (SELECT * FROM t) AS
x
- Specified by:
allowsFromQuery in interface Dialect- Overrides:
allowsFromQuery in class JdbcDialectImpl
- Returns:
- whether Dialect allows subquery in FROM clause
- See Also:
Dialect.requiresAliasForFromQuery()