public class OSequenceAction extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CREATE |
static int |
CURRENT |
static int |
NEXT |
static int |
REMOVE |
static int |
RESET |
static int |
SET_NEXT |
static int |
UPDATE |
Constructor and Description |
---|
OSequenceAction(int actionType,
String sequenceName,
OSequence.CreateParams params,
OSequence.SEQUENCE_TYPE sequenceType) |
OSequenceAction(String sequenceName,
long currentvalue) |
Modifier and Type | Method and Description |
---|---|
int |
getActionType() |
Long |
getCurrentValue() |
OSequence.CreateParams |
getParameters() |
String |
getSequenceName() |
OSequence.SEQUENCE_TYPE |
getSequenceType() |
public static final int CREATE
public static final int REMOVE
public static final int CURRENT
public static final int NEXT
public static final int RESET
public static final int UPDATE
public static final int SET_NEXT
public OSequenceAction(String sequenceName, long currentvalue)
public OSequenceAction(int actionType, String sequenceName, OSequence.CreateParams params, OSequence.SEQUENCE_TYPE sequenceType)
public int getActionType()
public String getSequenceName()
public OSequence.CreateParams getParameters()
public OSequence.SEQUENCE_TYPE getSequenceType()
public Long getCurrentValue()
Copyright © 2009–2020 OrientDB. All rights reserved.