Class CreateSequence


public class CreateSequence extends SchemaCommand
This class represents the statement CREATE SEQUENCE.
  • Constructor Details

  • Method Details

    • setSequenceName

      public void setSequenceName(String sequenceName)
    • setIfNotExists

      public void setIfNotExists(boolean ifNotExists)
    • setOptions

      public void setOptions(SequenceOptions options)
    • 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
    • update

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