Known limitations:
(1,2,3) in (...) or (subselect) in (...) non-supported.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getCurrentTimestampSQLFunctionName()
Overrides org. |
| protected LimitHandler | |
| public MultiTableBulkIdStrategy | |
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public LimitHandler | getLimitHandler()
Returns the delegate managing LIMIT clause.
|
| public String | getLimitString(String
The query to which to apply the limit. querySelect, int The offset of the limit offset, int The limit of the limit ;) limit)Overrides org. |
| public String | getLowercaseFunction()
Overrides org. |
| public String | getNullColumnString()
Overrides org. |
| public String | getQuerySequencesString()
Overrides org. |
| public String | getSelectGUIDString()
Overrides org. |
| public String | getSelectSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public SequenceInformationExtractor | |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsExpectedLobUsagePattern()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsSubselectAsInPredicateLHS()
Overrides org. |
| public boolean | supportsTupleDistinctCounts()
Overrides org. |
| public boolean | supportsVariableLimit()
Overrides org. |
| public boolean | useMaxForLimit()
Overrides org. |
| IngresDialect | back to summary |
|---|---|
| public IngresDialect() Constructs a IngresDialect | |
| dropConstraints | back to summary |
|---|---|
| public boolean dropConstraints() Overrides org. Doc from org. Do we need to drop constraints before dropping tables in this dialect?
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) Overrides org. Doc from org. Typically dialects which support sequences can create a sequence
with a single command. This is convenience form of
Dialects which support sequences and can create a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to create
a sequence should instead override | |
| getCurrentTimestampSQLFunctionName | back to summary |
|---|---|
| public String getCurrentTimestampSQLFunctionName() Overrides org. Doc from org. The name of the database-specific SQL function for retrieving the current timestamp. | |
| getDefaultLimitHandler | back to summary |
|---|---|
| protected LimitHandler getDefaultLimitHandler() | |
| getDefaultMultiTableBulkIdStrategy | back to summary |
|---|---|
| public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy() Overrides org.
| |
| getDropSequenceString | back to summary |
|---|---|
| public String getDropSequenceString(String sequenceName) Overrides org. Doc from org. Typically dialects which support sequences can drop a sequence
with a single command. This is convenience form of
Dialects which support sequences and can drop a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to drop
a sequence should instead override | |
| getLimitHandler | back to summary |
|---|---|
| public LimitHandler getLimitHandler() Overrides org. Doc from org. Returns the delegate managing LIMIT clause.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String querySelect, int offset, int limit) Overrides org. Doc from org. Given a limit and an offset, apply the limit clause to the query. | |
| getLowercaseFunction | back to summary |
|---|---|
| public String getLowercaseFunction() Overrides org. Doc from org. The name of the SQL function that transforms a string to lowercase | |
| getNullColumnString | back to summary |
|---|---|
| public String getNullColumnString() Overrides org. Doc from org. The keyword used to specify a nullable column. | |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the select command used retrieve the names of all sequences. | |
| getSelectGUIDString | back to summary |
|---|---|
| public String getSelectGUIDString() Overrides org. Doc from org. Get the command used to select a GUID from the underlying database. Optional operation. | |
| getSelectSequenceNextValString | back to summary |
|---|---|
| public String getSelectSequenceNextValString(String sequenceName) Overrides org. Doc from org. Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.
This differs from | |
| getSequenceInformationExtractor | back to summary |
|---|---|
| public SequenceInformationExtractor getSequenceInformationExtractor() Overrides org.
| |
| getSequenceNextValString | back to summary |
|---|---|
| public String getSequenceNextValString(String sequenceName) Overrides org. Doc from org. Generate the appropriate select statement to to retrieve the next value of a sequence. This should be a "stand alone" select statement. | |
| supportsEmptyInList | back to summary |
|---|---|
| public boolean supportsEmptyInList() Overrides org. Doc from org. Does this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct?
| |
| supportsExpectedLobUsagePattern | back to summary |
|---|---|
| public boolean supportsExpectedLobUsagePattern() Overrides org. Doc from org. Expected LOB usage pattern is such that I can perform an insert via prepared statement with a parameter binding for a LOB value without crazy casting to JDBC driver implementation-specific classes... Part of the trickiness here is the fact that this is largely driver dependent. For example, Oracle (which is notoriously bad with LOB support in their drivers historically) actually does a pretty good job with LOB support as of the 10.2.x versions of their drivers...
| |
| supportsLimit | back to summary |
|---|---|
| public boolean supportsLimit() Overrides org. Doc from org. Does this dialect support some form of limiting query results via a SQL clause?
| |
| supportsLimitOffset | back to summary |
|---|---|
| public boolean supportsLimitOffset() Overrides org. Doc from org. Does this dialect's LIMIT support (if any) additionally support specifying an offset?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsSubselectAsInPredicateLHS | back to summary |
|---|---|
| public boolean supportsSubselectAsInPredicateLHS() Overrides org. Doc from org. Are subselects supported as the left-hand-side (LHS) of IN-predicates.
In other words, is syntax like
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support `count(distinct a,b)`?
| |
| supportsVariableLimit | back to summary |
|---|---|
| public boolean supportsVariableLimit() Overrides org. Doc from org. Does this dialect support bind variables (i.e., prepared statement parameters) for its limit/offset?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9) So essentially, is limit relative from offset? Or is limit absolute?
| |