Class OracleQueryRewriter

    • Field Detail

      • FIRST_FETCH_SUPPORTING_VERSION

        public static final int FIRST_FETCH_SUPPORTING_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • OracleQueryRewriter

        public OracleQueryRewriter​(JdbcDataContext dataContext)
    • Method Detail

      • rewriteColumnType

        public String rewriteColumnType​(org.apache.metamodel.schema.ColumnType columnType,
                                        Integer columnSize)
        Description copied from interface: IQueryRewriter
        Rewrites the name of a column type, as it is written in CREATE TABLE statements. Some databases dont support all column types, or have different names for them. The implementation of this method will do that conversion.
        Specified by:
        rewriteColumnType in interface IQueryRewriter
        Overrides:
        rewriteColumnType in class DefaultQueryRewriter
        Parameters:
        columnType - the (non-null) ColumnType to rewrite
        columnSize - the (possibly null) column size that may or may not have been specified
        Returns: