Documentation of 'org.apache.derby.impl.sql.catalog.SequenceRange' Java class
SequenceRange
org.apache.derby.impl.sql.catalog

Class SequenceRange

  • All Implemented Interfaces:
    SequencePreallocator


    public class SequenceRange
    extends java.lang.Object
    implements SequencePreallocator

    Default Derby logic for determining how many values to pre-allocate for an identity column or sequence.

    • Constructor Summary

      Constructors 
      Constructor and Description
      SequenceRange()
      0-arg constructore needed to satisfy the SequencePreallocator contract.
      SequenceRange(int rangeSize) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int nextRangeSize(java.lang.String schemaName, java.lang.String sequenceName)
      This method returns the size of the next pre-allocated range for the specified sequence.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SequenceRange

        public SequenceRange()

        0-arg constructore needed to satisfy the SequencePreallocator contract.

      • SequenceRange

        public SequenceRange(int rangeSize)
    • Method Detail

      • nextRangeSize

        public int nextRangeSize(java.lang.String schemaName,
                                 java.lang.String sequenceName)
        Description copied from interface: SequencePreallocator

        This method returns the size of the next pre-allocated range for the specified sequence. Names are case-sensitive, as specified in CREATE SEQUENCE and CREATE TABLE statements.

        Specified by:
        nextRangeSize in interface SequencePreallocator
        Parameters:
        schemaName - Name of schema holding the sequence.
        sequenceName - Specific name of the sequence.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.