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
public class Db2OldAs400Dialect extends Db2Dialect
Implementation ofDialect
for old versions of the IBM DB2/AS400 database. Modern versions of DB2/AS400 useDb2Dialect
.- Since:
- Nov 23, 2008
- Author:
- jhyde
- See Also:
Db2Dialect
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.spi.Dialect
Dialect.DatabaseProduct, Dialect.Datatype
-
-
Field Summary
Fields Modifier and Type Field Description static JdbcDialectFactory
FACTORY
-
Fields inherited from class mondrian.spi.impl.JdbcDialectImpl
databaseProduct, permitsSelectNotInGroupBy, productVersion
-
-
Constructor Summary
Constructors Constructor Description Db2OldAs400Dialect(Connection connection)
Creates a Db2OldAs400Dialect.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsFromQuery()
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 Detail
-
FACTORY
public static final JdbcDialectFactory FACTORY
-
-
Constructor Detail
-
Db2OldAs400Dialect
public Db2OldAs400Dialect(Connection connection) throws SQLException
Creates a Db2OldAs400Dialect.- Parameters:
connection
- Connection- Throws:
SQLException
-
-
Method Detail
-
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:
Dialect.requiresAliasForFromQuery()
-
-