public class SequenceCounter
extends sirius.db.jdbc.SQLEntity
This is used by Sequences
to store and generate the next value for a sequence.
Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
NAME
Contains the name of the sequence.
|
static sirius.db.mixing.Mapping |
NEXT_VALUE
Contains the next value which will be generated for this sequence.
|
Constructor and Description |
---|
SequenceCounter() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
long |
getNextValue() |
void |
setName(String name) |
void |
setNextValue(long nextValue) |
equals, getFetchRow, getId, getMapper, hashCode, isNew, isUnique, setId
Copyright © 2018. All rights reserved.