C# Class Deveel.Data.Sql.Sequences.SequenceInfo

Provides the meta information about a ISequence configuring its operative behavior.
Inheritance: IObjectInfo
Mostrar archivo Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
SequenceInfo System

Public Methods

Method Description
Native ( ObjectName tableName ) : SequenceInfo

Creates an object that describes a native sequence for the table having the specified name.

SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, bool cycle ) : System

Constructs a new object with the information given

SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache ) : System

Constructs a new object with the information given

SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache, bool cycle ) : System

Constructs a new object with the information given

Private Methods

Method Description
SequenceInfo ( ObjectName sequenceName, SequenceType sequenceType ) : System

Method Details

Native() public static method

Creates an object that describes a native sequence for the table having the specified name.
public static Native ( ObjectName tableName ) : SequenceInfo
tableName ObjectName
return SequenceInfo

SequenceInfo() public method

Constructs a new object with the information given
public SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, bool cycle ) : System
sequenceName ObjectName
startValue SqlNumber The start value of the sequence
increment SqlNumber The incremental value of the sequence, that is the /// value added to the current value of the sequence, each time it advances.
minValue SqlNumber The minimum value of the sequence.
maxValue SqlNumber The maximum value of the sequence.
cycle bool Indicates if the sequence must be cycled when it reaches /// the minimum or maximum value.
return System

SequenceInfo() public method

Constructs a new object with the information given
public SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache ) : System
sequenceName ObjectName
startValue SqlNumber The start value of the sequence
increment SqlNumber The incremental value of the sequence, that is the /// value added to the current value of the sequence, each time it advances.
minValue SqlNumber The minimum value of the sequence.
maxValue SqlNumber The maximum value of the sequence.
cache long The number of items to cache.
return System

SequenceInfo() public method

Constructs a new object with the information given
public SequenceInfo ( ObjectName sequenceName, SqlNumber startValue, SqlNumber increment, SqlNumber minValue, SqlNumber maxValue, long cache, bool cycle ) : System
sequenceName ObjectName
startValue SqlNumber The start value of the sequence
increment SqlNumber The incremental value of the sequence, that is the /// value added to the current value of the sequence, each time it advances.
minValue SqlNumber The minimum value of the sequence.
maxValue SqlNumber The maximum value of the sequence.
cache long The number of items to cache.
cycle bool Indicates if the sequence must be cycled when it reaches /// the minimum or maximum value.
return System