Class SequenceInformationImpl

  • All Implemented Interfaces:
    SequenceInformation

    public class SequenceInformationImpl
    extends Object
    implements SequenceInformation
    For now we only collect sequence name. If all databases support it, would really like to see INCREMENT here as well.
    • Method Detail

      • getStartValue

        public Long getStartValue()
        Description copied from interface: SequenceInformation
        Retrieve the extracted start value defined for the sequence.
        Specified by:
        getStartValue in interface SequenceInformation
        Returns:
        The extracted start value or null id the value could not be extracted.
      • getMinValue

        public Long getMinValue()
        Description copied from interface: SequenceInformation
        Retrieve the extracted minimum value defined for the sequence.
        Specified by:
        getMinValue in interface SequenceInformation
        Returns:
        The extracted minimum value or null id the value could not be extracted.
      • getMaxValue

        public Long getMaxValue()
        Description copied from interface: SequenceInformation
        Retrieve the extracted maximum value defined for the sequence.
        Specified by:
        getMaxValue in interface SequenceInformation
        Returns:
        The extracted maximum value or null id the value could not be extracted.
      • getIncrementValue

        public Long getIncrementValue()
        Description copied from interface: SequenceInformation
        Retrieve the extracted increment value defined for the sequence.
        Specified by:
        getIncrementValue in interface SequenceInformation
        Returns:
        The extracted increment value; use a negative number to indicate the increment could not be extracted.