public class NuoDbDialect extends JdbcDialectImpl
Dialect
for the NuoDB database.
In order to use NuoDB with Hitachi Vantara Mondrian users can only use NuoDB
version 2.0.4 or newer.Dialect.DatabaseProduct, Dialect.Datatype
Modifier and Type | Field and Description |
---|---|
static JdbcDialectFactory |
FACTORY |
databaseProduct, permitsSelectNotInGroupBy, productVersion
Constructor and Description |
---|
NuoDbDialect(Connection connection)
Creates a NuoDbDialect.
|
Modifier and Type | Method and Description |
---|---|
protected String |
deduceIdentifierQuoteString(DatabaseMetaData databaseMetaData)
The NuoDB JDBC driver lists " " as the string to use for quoting, but we
know better.
|
String |
generateInline(List<String> columnNames,
List<String> columnTypes,
List<String[]> valueList)
In order to generate a SQL statement to represent an inline dataset
NuoDB requires that you use FROM DUAL.
|
protected void |
quoteDateLiteral(StringBuilder buf,
String value,
Date date)
NuoDB does not yet support ANSI SQL:2003 for DATE literals so we have
to cast dates using a function.
|
allowsAs, allowsCompoundCountDistinct, allowsCountDistinct, allowsCountDistinctWithOtherAggs, allowsDdl, allowsDialectSharing, allowsFromQuery, allowsJoinOn, allowsMultipleCountDistinct, allowsMultipleDistinctSqlMeasures, allowsOrderByAlias, allowsRegularExpressionInWhereClause, allowsSelectNotInGroupBy, appendHintsAfterFromClause, caseWhenElse, computeStatisticsProviders, deduceMaxColumnNameLength, deduceProductName, deduceProductVersion, deduceReadOnly, deduceSupportedResultSetStyles, deduceSupportsSelectNotInGroupBy, generateCountExpression, generateInlineForAnsi, generateInlineGeneric, generateOrderByNulls, generateOrderByNullsAnsi, generateOrderItem, generateRegularExpression, getDatabaseProduct, getMaxColumnNameLength, getProduct, getQuoteIdentifierString, getStatisticsProviders, getType, isDatabase, needsExponent, quote, quoteBooleanLiteral, quoteDateLiteral, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteIdentifier, quoteNumericLiteral, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteral, quoteTimestampLiteral, requiresAliasForFromQuery, requiresGroupByAlias, requiresHavingAlias, requiresOrderByAlias, requiresUnionOrderByExprToBeInSelectClause, requiresUnionOrderByOrdinal, supportsGroupByExpressions, supportsGroupingSets, supportsMultiValueInExpr, supportsResultSetConcurrency, supportsUnlimitedValueList, toString, toUpper
public static final JdbcDialectFactory FACTORY
public NuoDbDialect(Connection connection) throws SQLException
connection
- ConnectionSQLException
public String generateInline(List<String> columnNames, List<String> columnTypes, List<String[]> valueList)
generateInline
in interface Dialect
generateInline
in class JdbcDialectImpl
columnNames
- the list of column namescolumnTypes
- the list of column typesvalueList
- the value listprotected void quoteDateLiteral(StringBuilder buf, String value, Date date)
quoteDateLiteral
in class JdbcDialectImpl
buf
- Buffer to append tovalue
- Value as stringdate
- Value as dateprotected String deduceIdentifierQuoteString(DatabaseMetaData databaseMetaData)
deduceIdentifierQuoteString
in class JdbcDialectImpl
databaseMetaData
- the database metadata from the connectionCopyright © 2020 Hitachi Vantara. All rights reserved.