Class CreateTrigger


public class CreateTrigger extends SchemaCommand
This class represents the statement CREATE TRIGGER
  • Constructor Details

  • Method Details

    • setInsteadOf

      public void setInsteadOf(boolean insteadOf)
    • setBefore

      public void setBefore(boolean before)
    • setTriggerClassName

      public void setTriggerClassName(String triggerClassName)
    • setTriggerSource

      public void setTriggerSource(String triggerSource)
    • setTypeMask

      public void setTypeMask(int typeMask)
    • setRowBased

      public void setRowBased(boolean rowBased)
    • setQueueSize

      public void setQueueSize(int size)
    • setNoWait

      public void setNoWait(boolean noWait)
    • setTableName

      public void setTableName(String tableName)
    • setTriggerName

      public void setTriggerName(String name)
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • update

      public long update()
      Description copied from class: Prepared
      Execute the statement.
      Overrides:
      update in class Prepared
      Returns:
      the update count
    • setForce

      public void setForce(boolean force)
    • setOnRollback

      public void setOnRollback(boolean onRollback)
    • getType

      public int getType()
      Description copied from class: Prepared
      Get the command type as defined in CommandInterface
      Specified by:
      getType in class Prepared
      Returns:
      the statement type