接口 ColumnDefinition

    • 方法详细资料

      • getFields

        Field[] getFields()
      • setFields

        void setFields​(Field[] fields)
      • buildIndexMapping

        void buildIndexMapping()
        Builds a hash between column names and their indices for fast retrieval. This is done lazily to support findColumn() and get*(String), as it can be more expensive than just retrieving result set values by ordinal index.
      • hasBuiltIndexMapping

        boolean hasBuiltIndexMapping()
      • setColumnLabelToIndex

        void setColumnLabelToIndex​(Map<String,​Integer> columnLabelToIndex)
      • setFullColumnNameToIndex

        void setFullColumnNameToIndex​(Map<String,​Integer> fullColNameToIndex)
      • setColumnNameToIndex

        void setColumnNameToIndex​(Map<String,​Integer> colNameToIndex)
      • setColumnToIndexCache

        void setColumnToIndexCache​(Map<String,​Integer> columnToIndexCache)
      • findColumn

        int findColumn​(String columnName,
                       boolean useColumnNamesInFindColumn,
                       int indexBase)
      • hasLargeFields

        boolean hasLargeFields()
        Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT or LONGTEXT exist in this ColumnDefinition.
        返回:
        true if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT or LONGTEXT exist in this ColumnDefinition.