| Modifier and Type | Field and Description |
|---|---|
| private static final ViolatedConstraintNameExtracter | |
| private final UniqueDelegate |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getAddForeignKeyConstraintString(String
The FK constraint name. constraintName, String[] The names of the columns comprising the FK foreignKey, String The table referenced by the FK referencedTable, String[] The explicit columns in the referencedTable referenced
by this FK. primaryKey, boolean if false, constraint should be
explicit about which column names the constraint refers to referencesPrimaryKey)Overrides org. |
| public String | getAddForeignKeyConstraintString(String constraintName, String foreignKeyDefinition)
Overrides org. |
| public String | getAddPrimaryKeyConstraintString(String
The name of the PK constraint. constraintName)Overrides org. |
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public MultiTableBulkIdStrategy | |
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport
|
| 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 | getQuerySequencesString()
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 UniqueDelegate | getUniqueDelegate()
Get the UniqueDelegate supported by this dialect
|
| public ViolatedConstraintNameExtracter | |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
be treated as callable.
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsPooledSequences()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsVariableLimit()
Overrides org. |
| public String | toBooleanValueString(boolean
The boolean value bool)Overrides org. |
| public boolean | useMaxForLimit()
Overrides org. |
| EXTRACTER | back to summary |
|---|---|
| private static final ViolatedConstraintNameExtracter EXTRACTER | |
| uniqueDelegate | back to summary |
|---|---|
| private final UniqueDelegate uniqueDelegate | |
| InformixDialect | back to summary |
|---|---|
| public InformixDialect() Creates new | |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getAddForeignKeyConstraintString | back to summary |
|---|---|
| public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey) Overrides org. Doc from org. Informix constraint name must be at the end. The syntax used to add a foreign key constraint to a table.
| |
| getAddForeignKeyConstraintString | back to summary |
|---|---|
| public String getAddForeignKeyConstraintString(String constraintName, String foreignKeyDefinition) Overrides org. | |
| getAddPrimaryKeyConstraintString | back to summary |
|---|---|
| public String getAddPrimaryKeyConstraintString(String constraintName) Overrides org. Doc from org. Informix constraint name must be at the end. The syntax used to add a primary key constraint to a table. | |
| 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 | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database. | |
| 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 | |
| getIdentityColumnSupport | back to summary |
|---|---|
| public IdentityColumnSupport getIdentityColumnSupport() Overrides org. Doc from org. Get the appropriate
| |
| 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. | |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the select command used retrieve the names of all sequences. | |
| 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. | |
| getUniqueDelegate | back to summary |
|---|---|
| public UniqueDelegate getUniqueDelegate() Overrides org. Doc from org. Get the UniqueDelegate supported by this dialect
| |
| getViolatedConstraintNameExtracter | back to summary |
|---|---|
| public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() Overrides org. Implements org.
| |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Should the value returned by
| |
| supportsCurrentTimestampSelection | back to summary |
|---|---|
| public boolean supportsCurrentTimestampSelection() Overrides org. Doc from org. Does this dialect support a way to retrieve the database's current timestamp value?
| |
| 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?
| |
| supportsPooledSequences | back to summary |
|---|---|
| public boolean supportsPooledSequences() Overrides org. Doc from org. Does this dialect support "pooled" sequences. Not aware of a better name for this. Essentially can we specify the initial and increment values?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| 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?
| |
| toBooleanValueString | back to summary |
|---|---|
| public String toBooleanValueString(boolean bool) Overrides org. Doc from org. The SQL literal value to which this database maps boolean values. | |
| 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?
| |