Class IndexColumnMetaData

    • Constructor Detail

      • IndexColumnMetaData

        public IndexColumnMetaData​(IndexMetaData indexMetaData)
        Creates an index column.
        Parameters:
        indexMetaData - the index column belongs to
    • Method Detail

      • setupIndexColumnFromMetaData

        public void setupIndexColumnFromMetaData​(java.sql.ResultSet resultSet)
                                          throws java.sql.SQLException
        Sets up the index column from the database meta data result.
        Parameters:
        resultSet - the column result set
        Throws:
        java.sql.SQLException - the processing the result set failed
      • getIndexMetaData

        public IndexMetaData getIndexMetaData()
        Gets the index.
        Returns:
        index column belongs to
      • isDescending

        public boolean isDescending()
        Returns ascending or descending order.
        Returns:
        true if descending
      • getColumnName

        public java.lang.String getColumnName()
        Gets the column columnName.
        Returns:
        the index column's columnName in lowercase
      • getFunctionName

        public java.lang.String getFunctionName()
        Gets the optional function name.
        Returns:
        the function in uppercase, null if none
      • getPosition

        public int getPosition()
        Gets the ordinal position within the index.
        Returns:
        the position
      • validate

        public void validate()
        Validates and postprocesses the index column data.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object