Class NuoDbSequence

java.lang.Object
io.ebean.config.dbplatform.SequenceIdGenerator
io.ebean.config.dbplatform.SequenceStepIdGenerator
io.ebean.platform.nuodb.NuoDbSequence
All Implemented Interfaces:
io.ebean.config.dbplatform.PlatformIdGenerator

public class NuoDbSequence extends io.ebean.config.dbplatform.SequenceStepIdGenerator
  • Field Summary

    Fields inherited from class io.ebean.config.dbplatform.SequenceIdGenerator

    allocationSize, backgroundExecutor, currentlyBackgroundLoading, dataSource, idList, log, seqName

    Fields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator

    AUTO_UUID
  • Constructor Summary

    Constructors
    Constructor
    Description
    NuoDbSequence(io.ebean.BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
    Construct where batchSize is the sequence step size.
  • Method Summary

    Modifier and Type
    Method
    Description
    getSql(int batchSize)
     

    Methods inherited from class io.ebean.config.dbplatform.SequenceStepIdGenerator

    readIds

    Methods inherited from class io.ebean.config.dbplatform.SequenceIdGenerator

    getMoreIds, getName, isDbSequence, loadInBackground, nextId, preAllocateIds

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NuoDbSequence

      public NuoDbSequence(io.ebean.BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
      Construct where batchSize is the sequence step size.
  • Method Details

    • getSql

      public String getSql(int batchSize)
      Specified by:
      getSql in class io.ebean.config.dbplatform.SequenceIdGenerator