Class Index

    • Constructor Detail

      • Index

        public Index​(Table table,
                     java.lang.String name)
    • Method Detail

      • setType

        public void setType​(IndexType type)
      • setOptions

        public void setOptions​(java.lang.String options)
      • getOptions

        public java.lang.String getOptions()
      • setSpecificationOptions

        public void setSpecificationOptions​(java.lang.String options)
      • getSpecificationOptions

        public java.lang.String getSpecificationOptions()
      • isUnique

        public boolean isUnique()
      • clearAttributes

        public void clearAttributes()
        Clears all attributes.
      • addColumn

        public void addColumn​(Column col)
        Adds an attribute to the current index.
        Parameters:
        col - to be added
      • getColumns

        public java.util.List<Column> getColumns()
      • merge

        public void merge​(Index target)
      • attributesAreEqual

        public static boolean attributesAreEqual​(java.util.Collection<Column> collection1,
                                                 java.util.Collection<Column> collection2)
      • listAttributes

        public static java.lang.String listAttributes​(java.util.List<? extends Attribute> attributes)
      • setColumnOptions

        public void setColumnOptions​(Column column,
                                     java.lang.String property)
      • getColumnOptions

        public java.lang.String getColumnOptions​(Column column)
      • getColumnOptions

        public java.util.Map<Column,​java.lang.String> getColumnOptions()
      • hasColumnOption

        public boolean hasColumnOption​(Column column,
                                       java.lang.String option)
      • getRdbms

        public java.lang.String getRdbms()
        Specified by:
        getRdbms in interface DbUnit