| Modifier and Type | Field and Description |
|---|---|
| private long[] | |
| private Expression | |
| private Sequence. | |
| private TypeInfo | |
| private Expression | |
| private Expression | |
| private Expression | |
| private final Sequence | |
| private Expression | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SequenceOptions(Sequence
the sequence to copy options from oldSequence, TypeInfo the new data type dataType)Creates new instance of sequence options. |
| Modifier and Type | Method and Description |
|---|---|
| private Long | |
| private void | |
| public long[] | |
| public static long[] | |
| public Long | Returns: cache size ornull if value is not defined.The session to calculate the value. session)Gets cache size. |
| private long | |
| public Sequence. | |
| public TypeInfo | |
| public Long | Returns: increment value ornull if value is not defined.The session to calculate the value. session)Gets increment value. |
| private static Long | |
| public Long | Returns: max value when the MAXVALUE expression is set, otherwise returns default max value.the sequence to get default max value. sequence, SessionLocal The session to calculate the value. session)Gets max value. |
| public Long | Returns: min value when the MINVALUE expression is set, otherwise returns default min value.the sequence to get default min value. sequence, SessionLocal The session to calculate the value. session)Gets min value. |
| public Long | Returns: restart value ornull if value is not defined.the session to calculate the value session, long the start value to use if restart without value is specified startValue)Gets restart value. |
| public Long | Returns: start value ornull if value is not defined.The session to calculate the value. session)Gets start value. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRestartValue(Expression
RESTART WITH value expression, or
restart)ValueExpression#DEFAULT for simple RESTARTSets restart value expression, or |
| public void |
| bounds | back to summary |
|---|---|
| private long[] bounds | |
| cacheSize | back to summary |
|---|---|
| private Expression cacheSize | |
| cycle | back to summary |
|---|---|
| private Sequence. | |
| dataType | back to summary |
|---|---|
| private TypeInfo dataType | |
| increment | back to summary |
|---|---|
| private Expression increment | |
| maxValue | back to summary |
|---|---|
| private Expression maxValue | |
| minValue | back to summary |
|---|---|
| private Expression minValue | |
| oldSequence | back to summary |
|---|---|
| private final Sequence oldSequence | |
| restart | back to summary |
|---|---|
| private Expression restart | |
| start | back to summary |
|---|---|
| private Expression start | |
| SequenceOptions | back to summary |
|---|---|
| public SequenceOptions() Creates new instance of sequence options. | |
| SequenceOptions | back to summary |
|---|---|
| public SequenceOptions(Sequence oldSequence, TypeInfo dataType) Creates new instance of sequence options. | |
| check | back to summary |
|---|---|
| private Long check(Long value) | |
| copyFromOldSequence | back to summary |
|---|---|
| private void copyFromOldSequence() | |
| getBounds | back to summary |
|---|---|
| public long[] getBounds() | |
| getBounds | back to summary |
|---|---|
| public static long[] getBounds(TypeInfo dataType) Get the bounds (min, max) of a data type.
| |
| getCacheSize | back to summary |
|---|---|
| public Long getCacheSize(SessionLocal session) Gets cache size.
| |
| getCurrentStart | back to summary |
|---|---|
| private long getCurrentStart(Sequence sequence, SessionLocal session) | |
| getCycle | back to summary |
|---|---|
| public Sequence. Gets cycle option. | |
| getDataType | back to summary |
|---|---|
| public TypeInfo getDataType() | |
| getIncrement | back to summary |
|---|---|
| public Long getIncrement(SessionLocal session) Gets increment value.
| |
| getLong | back to summary |
|---|---|
| private static Long getLong(SessionLocal session, Expression expr) | |
| getMaxValue | back to summary |
|---|---|
| public Long getMaxValue(Sequence sequence, SessionLocal session) Gets max value.
| |
| getMinValue | back to summary |
|---|---|
| public Long getMinValue(Sequence sequence, SessionLocal session) Gets min value.
| |
| getRestartValue | back to summary |
|---|---|
| public Long getRestartValue(SessionLocal session, long startValue) Gets restart value.
| |
| getStartValue | back to summary |
|---|---|
| public Long getStartValue(SessionLocal session) Gets start value.
| |
| setCacheSize | back to summary |
|---|---|
| public void setCacheSize(Expression cacheSize) Sets cache size.
| |
| setCycle | back to summary |
|---|---|
| public void setCycle(Sequence. Sets cycle option. | |
| setDataType | back to summary |
|---|---|
| public void setDataType(TypeInfo dataType) | |
| setIncrement | back to summary |
|---|---|
| public void setIncrement(Expression increment) Sets increment value expression.
| |
| setMaxValue | back to summary |
|---|---|
| public void setMaxValue(Expression maxValue) Sets max value expression.
| |
| setMinValue | back to summary |
|---|---|
| public void setMinValue(Expression minValue) Sets min value expression.
| |
| setRestartValue | back to summary |
|---|---|
| public void setRestartValue(Expression restart) Sets restart value expression, or
| |
| setStartValue | back to summary |
|---|---|
| public void setStartValue(Expression start) Sets start value expression.
| |