Class InterbaseDictionary

    • Constructor Detail

      • InterbaseDictionary

        public InterbaseDictionary()
    • Method Detail

      • getTableNameForMetadata

        protected java.lang.String getTableNameForMetadata​(java.lang.String tableName)
        Description copied from class: DBDictionary
        Returns the table name that will be used for obtaining information from DatabaseMetaData.
        Overrides:
        getTableNameForMetadata in class DBDictionary
      • getTableNameForMetadata

        protected java.lang.String getTableNameForMetadata​(DBIdentifier tableName)
        Description copied from class: DBDictionary
        Returns the table name that will be used for obtaining information from DatabaseMetaData.
        Overrides:
        getTableNameForMetadata in class DBDictionary
      • getColumnNameForMetadata

        protected java.lang.String getColumnNameForMetadata​(java.lang.String columnName)
        Description copied from class: DBDictionary
        Returns the column name that will be used for obtaining information from DatabaseMetaData.
        Overrides:
        getColumnNameForMetadata in class DBDictionary
      • getColumnNameForMetadata

        protected java.lang.String getColumnNameForMetadata​(DBIdentifier columnName)
        Description copied from class: DBDictionary
        Returns the column name that will be used for obtaining information from DatabaseMetaData.
        Overrides:
        getColumnNameForMetadata in class DBDictionary
      • appendSize

        protected java.lang.String appendSize​(Column col,
                                              java.lang.String typeName)
        Description copied from class: DBDictionary
        Helper method to add size properties to the specified type. If present, the string "{0}" will be replaced with the size definition; otherwise the size definition will be appended to the type name. If your database has column types that don't allow size definitions, override this method to return the unaltered type name for columns of those types (or add the type names to the fixedSizeTypeNameSet).

        Some databases support "type modifiers", for example the unsigned "modifier" in MySQL. In these cases the size should go between the type and the "modifier", instead of after the modifier. For example CREATE table FOO ( myint INT (10) UNSIGNED . . .) instead of CREATE table FOO ( myint INT UNSIGNED (10) . . .). Type modifiers should be added to typeModifierSet in subclasses.

        Overrides:
        appendSize in class DBDictionary
      • indexOf

        public void indexOf​(SQLBuffer buf,
                            FilterValue str,
                            FilterValue find,
                            FilterValue start)
        Description copied from class: DBDictionary
        Invoke this database's indexOf function.
        Overrides:
        indexOf in class DBDictionary
        Parameters:
        buf - the SQL buffer to write the indexOf invocation to
        str - a query value representing the target string
        find - a query value representing the search string
        start - a query value representing the start index, or null to start at the beginning
      • substring

        public void substring​(SQLBuffer buf,
                              FilterValue str,
                              FilterValue start,
                              FilterValue end)
        Description copied from class: DBDictionary
        Invoke this database's substring function. Numeric parameters are inlined if possible. This is to handle grouping by SUBSTRING - most databases do not allow parameter binding in this case.
        Overrides:
        substring in class DBDictionary
        Parameters:
        buf - the SQL buffer to write the substring invocation to
        str - a query value representing the target string
        start - a query value representing the start index
        end - a query value representing the length of substring, or null for none
      • getDropColumnSQL

        public java.lang.String[] getDropColumnSQL​(Column column)
        Description copied from class: DBDictionary
        Return a series of SQL statements to drop the given column from its table. Return an empty array if operation not supported. Returns ALTER TABLE <table name> DROP COLUMN <col name> by default.
        Overrides:
        getDropColumnSQL in class DBDictionary