Class CreateSequence


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

    • Method Detail

      • setSequenceName

        public void setSequenceName​(java.lang.String sequenceName)
      • setIfNotExists

        public void setIfNotExists​(boolean ifNotExists)
      • 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