Class IndexConstantAction

    • Field Detail

      • indexName

        java.lang.String indexName
      • tableName

        java.lang.String tableName
      • schemaName

        java.lang.String schemaName
      • constraintID

        protected transient UUID constraintID
        Set by CreateConstraintConstantAction
    • Constructor Detail

      • IndexConstantAction

        protected IndexConstantAction​(UUID tableId,
                                      java.lang.String indexName,
                                      java.lang.String tableName,
                                      java.lang.String schemaName)
        Make the ConstantAction for a CREATE/DROP INDEX statement.
        Parameters:
        tableId - The table uuid
        indexName - Index name.
        tableName - The table name
        schemaName - Schema that index lives in.
    • Method Detail

      • getIndexName

        public java.lang.String getIndexName()
        Get the index name.
        Returns:
        the name of the index
      • setIndexName

        public void setIndexName​(java.lang.String indexName)
        Set the index name at execution time. Useful for unnamed constraints which have a backing index.
        Parameters:
        indexName - The (generated) index name.
      • setConstraintID

        public void setConstraintID​(UUID constraintID)
        Set the id for the constraint which may be driving this index action. This is called by CreateConstraintConstantAction.
        Parameters:
        constraintID - The id of the constraint