Class CreateSequence


public class CreateSequence extends SchemaOwnerCommand
This class represents the statement CREATE SEQUENCE.
  • Field Details

    • sequenceName

      private String sequenceName
    • ifNotExists

      private boolean ifNotExists
    • options

      private SequenceOptions options
    • belongsToTable

      private boolean belongsToTable
  • Constructor Details

  • Method Details

    • setSequenceName

      public void setSequenceName(String sequenceName)
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • setOptions

      public void setOptions(SequenceOptions options)
    • update

      long update(Schema schema)
      Specified by:
      update in class SchemaOwnerCommand
    • setBelongsToTable

      public void setBelongsToTable(boolean belongsToTable)
    • 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