Package mondrian.spi.impl
Class Db2OldAs400Dialect
java.lang.Object
mondrian.spi.impl.JdbcDialectImpl
mondrian.spi.impl.Db2Dialect
mondrian.spi.impl.Db2OldAs400Dialect
- All Implemented Interfaces:
Dialect
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface mondrian.spi.Dialect
Dialect.DatabaseProduct, Dialect.Datatype
-
Field Summary
Fields inherited from class mondrian.spi.impl.JdbcDialectImpl
databaseProduct, permitsSelectNotInGroupBy, productVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this Dialect allows a subquery in the from clause, for exampleSELECT * FROM (SELECT * FROM t) AS x
Methods inherited from class mondrian.spi.impl.Db2Dialect
supportsGroupingSets, toUpper
Methods inherited from class mondrian.spi.impl.JdbcDialectImpl
allowsAs, allowsCompoundCountDistinct, allowsCountDistinct, allowsCountDistinctWithOtherAggs, allowsDdl, allowsDialectSharing, allowsJoinOn, allowsMultipleCountDistinct, allowsMultipleDistinctSqlMeasures, allowsOrderByAlias, allowsRegularExpressionInWhereClause, allowsSelectNotInGroupBy, appendHintsAfterFromClause, caseWhenElse, computeStatisticsProviders, deduceIdentifierQuoteString, deduceMaxColumnNameLength, deduceProductName, deduceProductVersion, deduceReadOnly, deduceSupportedResultSetStyles, deduceSupportsSelectNotInGroupBy, extractEmbeddedFlags, generateCountExpression, generateInline, generateInlineForAnsi, generateInlineGeneric, generateOrderByNulls, generateOrderByNullsAnsi, generateOrderItem, generateRegularExpression, getDatabaseProduct, getMaxColumnNameLength, getProduct, getQuoteIdentifierString, getStatisticsProviders, getType, isDatabase, needsExponent, quote, quoteBooleanLiteral, quoteDateLiteral, quoteDateLiteral, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteNumericLiteral, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteral, quoteTimestampLiteral, requiresAliasForFromQuery, requiresGroupByAlias, requiresHavingAlias, requiresOrderByAlias, requiresUnionOrderByExprToBeInSelectClause, requiresUnionOrderByOrdinal, supportsGroupByExpressions, supportsMultiValueInExpr, supportsResultSetConcurrency, supportsUnlimitedValueList, toString
-
Field Details
-
FACTORY
-
-
Constructor Details
-
Db2OldAs400Dialect
Creates a Db2OldAs400Dialect.- Parameters:
connection
- Connection- Throws:
SQLException
-
-
Method Details
-
allowsFromQuery
public boolean allowsFromQuery()Description copied from interface:Dialect
Returns whether this Dialect allows a subquery in the from clause, for exampleSELECT * FROM (SELECT * FROM t) AS x
- Specified by:
allowsFromQuery
in interfaceDialect
- Overrides:
allowsFromQuery
in classJdbcDialectImpl
- Returns:
- whether Dialect allows subquery in FROM clause
- See Also:
-