public class IngresDialect extends JdbcDialectImpl
Dialect for the Ingres database.Dialect.DatabaseProduct, Dialect.Datatype| Modifier and Type | Field and Description | 
|---|---|
static JdbcDialectFactory | 
FACTORY  | 
databaseProduct, permitsSelectNotInGroupBy, productVersion| Constructor and Description | 
|---|
IngresDialect(Connection connection)
Creates an IngresDialect. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
generateInline(List<String> columnNames,
              List<String> columnTypes,
              List<String[]> valueList)
Generates a SQL statement to represent an inline dataset. 
 | 
boolean | 
requiresOrderByAlias()
Returns true if this Dialect can include expressions in the ORDER BY
 clause only by adding an expression to the SELECT clause and using
 its alias. 
 | 
allowsAs, allowsCompoundCountDistinct, allowsCountDistinct, allowsCountDistinctWithOtherAggs, allowsDdl, allowsDialectSharing, allowsFromQuery, allowsJoinOn, allowsMultipleCountDistinct, allowsMultipleDistinctSqlMeasures, allowsOrderByAlias, allowsRegularExpressionInWhereClause, allowsSelectNotInGroupBy, appendHintsAfterFromClause, caseWhenElse, computeStatisticsProviders, deduceIdentifierQuoteString, deduceMaxColumnNameLength, deduceProductName, deduceProductVersion, deduceReadOnly, deduceSupportedResultSetStyles, deduceSupportsSelectNotInGroupBy, generateCountExpression, 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, requiresAliasForFromQuery, requiresGroupByAlias, requiresHavingAlias, requiresUnionOrderByExprToBeInSelectClause, requiresUnionOrderByOrdinal, supportsGroupByExpressions, supportsGroupingSets, supportsMultiValueInExpr, supportsResultSetConcurrency, supportsUnlimitedValueList, toString, toUpperpublic static final JdbcDialectFactory FACTORY
public IngresDialect(Connection connection) throws SQLException
connection - ConnectionSQLExceptionpublic String generateInline(List<String> columnNames, List<String> columnTypes, List<String[]> valueList)
DialectFor example, for Oracle, generates
SELECT 1 AS FOO, 'a' AS BAR FROM dual UNION ALL SELECT 2 AS FOO, 'b' AS BAR FROM dual
For ANSI SQL, generates:
VALUES (1, 'a'), (2, 'b')
generateInline in interface DialectgenerateInline in class JdbcDialectImplcolumnNames - List of column namescolumnTypes - List of column types ("String" or "Numeric")valueList - List of rows valuespublic boolean requiresOrderByAlias()
DialectFor example, in such a dialect,
 SELECT x FROM t ORDER BY x + y
 
 would be illegal, but
 
 SELECT x, x + y AS z FROM t ORDER BY z
 
 would be legal.
 MySQL, DB2 and Ingres are examples of such dialects.
requiresOrderByAlias in interface DialectrequiresOrderByAlias in class JdbcDialectImplCopyright © 2017 Hitachi Vantara. All rights reserved.