
public class OSequenceOrdered extends OSequence
A sequence with sequential guarantees. Even when a transaction is rolled back, there will still be no holes. However, as a result, it is slower.
OSequenceCachedOSequence.CreateParams, OSequence.SEQUENCE_TYPECLASS_NAME, DEF_MAX_RETRY, DEFAULT_CACHE, DEFAULT_INCREMENT, DEFAULT_START| Constructor and Description |
|---|
OSequenceOrdered() |
OSequenceOrdered(ODocument iDocument) |
OSequenceOrdered(ODocument iDocument,
OSequence.CreateParams params) |
| Modifier and Type | Method and Description |
|---|---|
long |
current() |
OSequence.SEQUENCE_TYPE |
getSequenceType() |
long |
next() |
long |
reset() |
callRetry, getDatabase, getDocument, getIncrement, getMaxRetry, getName, getSequenceName, getSequenceType, getStart, getValue, initClass, initSequence, onUpdate, reloadSequence, save, save, setIncrement, setMaxRetry, setName, setStart, setValue, updateParamspublic OSequenceOrdered()
public OSequenceOrdered(ODocument iDocument)
public OSequenceOrdered(ODocument iDocument, OSequence.CreateParams params)
public OSequence.SEQUENCE_TYPE getSequenceType()
getSequenceType in class OSequenceCopyright © 2009–2025 OrientDB. All rights reserved.