| Access | Constructor and Description |
|---|---|
| public |
| FirebirdPlatform | back to summary |
|---|---|
| public FirebirdPlatform() | |
| allowBindingForSelectClause | back to summary |
|---|---|
| public boolean allowBindingForSelectClause() Overrides org.
| |
| buildFieldTypes | back to summary |
|---|---|
| protected Hashtable Overrides org. Doc from org. Return the mapping of class types to database types for the schema framework.
| |
| buildSelectQueryForSequenceObject | back to summary |
|---|---|
| public ValueReadQuery buildSelectQueryForSequenceObject(String seqName, Integer size) Overrides org. Doc from org. INTERNAL: Returns query used to read value generated by sequence object (like Oracle sequence). In case the other version of this method (taking no parameters) returns null, this method is called every time sequence object NativeSequence reads. If the platform supportsSequenceObjects then (at least) one of buildSelectQueryForSequenceObject methods should return non-null query.
| |
| buildSequenceObjectCreationWriter | back to summary |
|---|---|
| public Writer buildSequenceObjectCreationWriter(Writer writer, String fullSeqName, int increment, int start) throws IOException Overrides org. INTERNAL: Returns sql used to create sequence object in the database.
| |
| buildSequenceObjectDeletionWriter | back to summary |
|---|---|
| public Writer buildSequenceObjectDeletionWriter(Writer writer, String fullSeqName) throws IOException Overrides org. INTERNAL: Returns sql used to delete sequence object from the database.
| |
| getMaxForeignKeyNameSize | back to summary |
|---|---|
| public int getMaxForeignKeyNameSize() Overrides org. INTERNAL: returns the maximum number of characters that can be used in a foreign key name on this platform.
| |
| getMaxUniqueKeyNameSize | back to summary |
|---|---|
| public int getMaxUniqueKeyNameSize() Overrides org. INTERNAL: returns the maximum number of characters that can be used in a unique key name on this platform.
| |
| getSelectForUpdateString | back to summary |
|---|---|
| public String getSelectForUpdateString() Overrides org. WITH LOCK is required on FB to hold the lock.
| |
| getTimestampQuery | back to summary |
|---|---|
| public ValueReadQuery getTimestampQuery() Overrides org. Implements org. Doc from org. This method can be overridden by subclasses to return a query that will return the timestamp from the server. return null if the time should be the local time.
| |
| greatest | back to summary |
|---|---|
| protected ExpressionOperator greatest() INTERNAL: Build FB equivalent to GREATEST(x, y) FB: CASE WHEN x >= y THEN x ELSE y END | |
| initializePlatformOperators | back to summary |
|---|---|
| protected void initializePlatformOperators() Overrides org. Doc from org. Initialize any platform-specific operators
| |
| isAlterSequenceObjectSupported | back to summary |
|---|---|
| public boolean isAlterSequenceObjectSupported() Overrides org. Doc from org. INTERNAL: Override this method if the platform supports sequence objects and it's possible to alter sequence object's increment in the database.
| |
| isDynamicSQLRequiredForFunctions | back to summary |
|---|---|
| public boolean isDynamicSQLRequiredForFunctions() Overrides org. INTERNAL Firebird has some issues with using parameters on certain functions and relations. This allows statements to disable binding only in these cases.
| |
| isFirebird | back to summary |
|---|---|
| public boolean isFirebird() Overrides org.
| |
| leftTrim | back to summary |
|---|---|
| protected ExpressionOperator leftTrim() INTERNAL: Build FB equivalent to LTRIM(string_exp). FB: TRIM(LEADING FROM string_exp) | |
| monthsBetweenOperator | back to summary |
|---|---|
| public static ExpressionOperator monthsBetweenOperator() INTERNAL: Use MONTH function for MONTH_BETWEEN. | |
| printSQLSelectStatement | back to summary |
|---|---|
| public void printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) Overrides org. Print the pagination SQL using FB syntax " ROWS <max> TO <first>".
| |
| rightTrim | back to summary |
|---|---|
| protected ExpressionOperator rightTrim() INTERNAL: Build FB equivalent to LTRIM(string_exp). FB: TRIM(LEADING FROM string_exp) | |
| rightTrim2 | back to summary |
|---|---|
| protected ExpressionOperator rightTrim2() INTERNAL: Build FB equivalent to RTRIM(string_exp, character). FB: TRIM(TRAILING character FROM string_exp) | |
| substring | back to summary |
|---|---|
| protected ExpressionOperator substring() INTERNAL: Build FB equivalent to SUBSTR(x, y) FB: SUBSTRING(x FROM y) | |
| substring2 | back to summary |
|---|---|
| protected ExpressionOperator substring2() INTERNAL: Build FB equivalent to SUBSTR(x, y, z) FB: SUBSTRING(x FROM y FOR z) | |
| supportsForeignKeyConstraints | back to summary |
|---|---|
| public boolean supportsForeignKeyConstraints() Overrides org.
| |
| supportsSequenceObjects | back to summary |
|---|---|
| public boolean supportsSequenceObjects() Overrides org. Doc from org. INTERNAL: Indicates whether the platform supports sequence objects. This method is to be used *ONLY* by sequencing classes
| |
| toNumberOperator | back to summary |
|---|---|
| public static ExpressionOperator toNumberOperator() INTERNAL: Use CONVERT function for toNumber. | |