Class IndexDescription


  • public class IndexDescription
    extends java.lang.Object
    Describe a database index.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
      protected java.lang.String[] columnNames  
      protected boolean isUnique  
    • Constructor Summary

      Constructors 
      Constructor Description
      IndexDescription​(boolean isUnique, java.lang.String[] columnNames)
      Create an index description.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String[] getColumnNames()  
      boolean getIsUnique()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • isUnique

        protected boolean isUnique
      • columnNames

        protected java.lang.String[] columnNames
    • Constructor Detail

      • IndexDescription

        public IndexDescription​(boolean isUnique,
                                java.lang.String[] columnNames)
        Create an index description. Use this object in addTableIndex()
        Parameters:
        isUnique - is true if the index is unique.
        columnNames - are the column names desired for this index.
    • Method Detail

      • getIsUnique

        public boolean getIsUnique()
      • getColumnNames

        public java.lang.String[] getColumnNames()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object