Interface Generator

  • All Known Implementing Classes:
    GeneratorImpl

    public interface Generator
    Represents a store sequence.
    Since:
    0.4.1
    Author:
    Abe White
    • Method Detail

      • getName

        java.lang.String getName()
        The sequence name.
      • next

        java.lang.Object next()
        The next sequence value.
      • current

        java.lang.Object current()
        The current sequence value, or null if the sequence does not support current values.
      • allocate

        void allocate​(int additional)
        Hint to the sequence to allocate additional values up-front for efficiency.
      • getDelegate

        @Deprecated
        Seq getDelegate()
        Deprecated.
        cast to GeneratorImpl instead. This method pierces the published-API boundary, as does the SPI cast.