mondrian.spi.impl
Class SybaseDialect
java.lang.Object
mondrian.spi.impl.JdbcDialectImpl
mondrian.spi.impl.SybaseDialect
- All Implemented Interfaces:
- Dialect
public class SybaseDialect
- extends JdbcDialectImpl
Implementation of Dialect for the Sybase database.
- Since:
- Nov 23, 2008
- Author:
- jhyde
|
Method Summary |
boolean |
allowsAs()
Returns whether the SQL dialect allows "AS" in the FROM clause. |
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 |
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, requiresOrderByAlias, requiresUnionOrderByExprToBeInSelectClause, requiresUnionOrderByOrdinal, supportsGroupByExpressions, supportsGroupingSets, supportsMultiValueInExpr, supportsResultSetConcurrency, supportsUnlimitedValueList, toString, toUpper |
FACTORY
public static final JdbcDialectFactory FACTORY
SybaseDialect
public SybaseDialect(Connection connection)
throws SQLException
- Creates a SybaseDialect.
- Parameters:
connection - Connection
- Throws:
SQLException
allowsAs
public boolean allowsAs()
- Description copied from interface:
Dialect
- Returns whether the SQL dialect allows "AS" in the FROM clause.
If so, "SELECT * FROM t AS alias" is a valid query.
- Specified by:
allowsAs in interface Dialect- Overrides:
allowsAs in class JdbcDialectImpl
- Returns:
- whether dialect allows AS in FROM clause
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()