Provides the meta information about a ISequence configuring its operative behavior.
More...
|
| SequenceInfo (ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache) |
| Constructs a new object with the information given More...
|
|
| SequenceInfo (ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, bool cycle) |
| Constructs a new object with the information given More...
|
|
| SequenceInfo (ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache, bool cycle) |
| Constructs a new object with the information given More...
|
|
Provides the meta information about a ISequence configuring its operative behavior.
- See also
- ISequence.SequenceInfo, ISequence
Definition at line 28 of file SequenceInfo.cs.
Definition at line 29 of file SequenceInfo.cs.
30 if (sequenceName == null)
31 throw new ArgumentNullException(
"sequenceName");
Constructs a new object with the information given
- Parameters
-
sequenceName | |
startValue | The start value of the sequence |
increment | The incremental value of the sequence, that is the value added to the current value of the sequence, each time it advances. |
minValue | The minimum value of the sequence. |
maxValue | The maximum value of the sequence. |
cache | The number of items to cache. |
Definition at line 47 of file SequenceInfo.cs.
48 :
this(sequenceName, startValue, increment, minValue, maxValue, cache,
true) {
Constructs a new object with the information given
- Parameters
-
sequenceName | |
startValue | The start value of the sequence |
increment | The incremental value of the sequence, that is the value added to the current value of the sequence, each time it advances. |
minValue | The minimum value of the sequence. |
maxValue | The maximum value of the sequence. |
cycle | Indicates if the sequence must be cycled when it reaches the minimum or maximum value. |
Definition at line 62 of file SequenceInfo.cs.
63 :
this(sequenceName, startValue, increment, minValue, maxValue, 256, cycle) {
Constructs a new object with the information given
- Parameters
-
sequenceName | |
startValue | The start value of the sequence |
increment | The incremental value of the sequence, that is the value added to the current value of the sequence, each time it advances. |
minValue | The minimum value of the sequence. |
maxValue | The maximum value of the sequence. |
cache | The number of items to cache. |
cycle | Indicates if the sequence must be cycled when it reaches the minimum or maximum value. |
Definition at line 78 of file SequenceInfo.cs.
SqlNumber Increment
Gets the configured incremental value, that is the value added to the current value of a sequence eac...
long Cache
Gets the number of items of the sequence to cache.
SqlNumber MaxValue
Gets the configured maximum value of the sequence.
SqlNumber StartValue
Gets the configured starting numeric value of a sequence.
SqlNumber MinValue
Gets the configured minimum value of the sequence.
bool Cycle
Gets true if the sequence will cycle when it reaches either MinValue or MaxValue. ...
SequenceType
The form of a ISequence object in a transaction.
Creates an object that describes a native sequence for the table having the specified name.
- Parameters
-
- Returns
Definition at line 143 of file SequenceInfo.cs.
SequenceInfo(ObjectName sequenceName, SequenceType sequenceType)
SequenceType
The form of a ISequence object in a transaction.
long Deveel.Data.Sql.Sequences.SequenceInfo.Cache |
|
getprivate set |
Gets the number of items of the sequence to cache.
Definition at line 127 of file SequenceInfo.cs.
bool Deveel.Data.Sql.Sequences.SequenceInfo.Cycle |
|
getprivate set |
ObjectName IObjectInfo. Deveel.Data.Sql.Sequences.SequenceInfo.FullName |
|
getprivate |
SqlNumber Deveel.Data.Sql.Sequences.SequenceInfo.Increment |
|
getprivate set |
SqlNumber Deveel.Data.Sql.Sequences.SequenceInfo.MaxValue |
|
getprivate set |
SqlNumber Deveel.Data.Sql.Sequences.SequenceInfo.MinValue |
|
getprivate set |
Gets the configured minimum value of the sequence.
Definition at line 116 of file SequenceInfo.cs.
DbObjectType IObjectInfo. Deveel.Data.Sql.Sequences.SequenceInfo.ObjectType |
|
getprivate |
ObjectName Deveel.Data.Sql.Sequences.SequenceInfo.SequenceName |
|
getprivate set |
SqlNumber Deveel.Data.Sql.Sequences.SequenceInfo.StartValue |
|
getprivate set |
Gets the configured starting numeric value of a sequence.
Definition at line 103 of file SequenceInfo.cs.
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Sequences/SequenceInfo.cs