Package io.ebean.config.dbplatform.nuodb
Class NuoDbSequence
- java.lang.Object
-
- io.ebean.config.dbplatform.SequenceIdGenerator
-
- io.ebean.config.dbplatform.SequenceStepIdGenerator
-
- io.ebean.config.dbplatform.nuodb.NuoDbSequence
-
- All Implemented Interfaces:
PlatformIdGenerator
public class NuoDbSequence extends SequenceStepIdGenerator
-
-
Field Summary
-
Fields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator
AUTO_UUID
-
-
Constructor Summary
Constructors Constructor Description NuoDbSequence(BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
Construct where batchSize is the sequence step size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSql(int batchSize)
-
Methods inherited from class io.ebean.config.dbplatform.SequenceIdGenerator
getName, isDbSequence, nextId, preAllocateIds
-
-
-
-
Constructor Detail
-
NuoDbSequence
public NuoDbSequence(BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
Construct where batchSize is the sequence step size.
-
-
Method Detail
-
getSql
public String getSql(int batchSize)
- Specified by:
getSql
in classSequenceIdGenerator
-
-