Public Member Functions | |
IZConnection | GetConnection () |
Returns the Connection object that produced this Statement object. | |
Int64 | GetCurrentValue () |
Gets the current unique key generated by this sequence. | |
string | GetCurrentValueSQL () |
Int64 | GetNextValue () |
Gets the next unique key generated by this sequence. | |
string | GetNextValueSQL () |
TZAbstractSequence (IZConnection Connection, string Name, Integer BlockSize) | |
Creates this sequence object. | |
Public Attributes | |
Integer | BlockSize |
string | Name |
Protected Member Functions | |
Integer | GetBlockSize () |
Returns the assigned block size for this sequence. | |
string | GetName () |
Returns a name of the sequence generator. | |
SetBlockSize (const Integer Value) | |
Sets the block size for this sequence. | |
SetName (const string Value) | |
Sets a name of the sequence generator. | |
Protected Attributes | |
IZConnection | Connection |
Private Attributes | |
Integer | FBlockSize |
IZConnection | FConnection |
string | FName |
Definition at line 439 of file ZDbcConnection.pas.
TZAbstractSequence::TZAbstractSequence | ( | IZConnection | Connection, | |
string | Name, | |||
Integer | BlockSize | |||
) |
Creates this sequence object.
Connection | an SQL connection interface. | |
Name | a name of the sequence generator. | |
BlockSize | a number of unique keys requested in one trip to server. |
Definition at line 1486 of file ZDbcConnection.pas.
Integer TZAbstractSequence::GetBlockSize | ( | ) | [protected] |
Returns the assigned block size for this sequence.
Reimplemented from IZSequence.
Definition at line 1528 of file ZDbcConnection.pas.
IZConnection TZAbstractSequence::GetConnection | ( | ) |
Returns the Connection
object that produced this Statement
object.
Reimplemented from IZSequence.
Definition at line 1504 of file ZDbcConnection.pas.
Int64 TZAbstractSequence::GetCurrentValue | ( | ) |
Gets the current unique key generated by this sequence.
the | last generated unique key. |
Reimplemented from IZSequence.
Reimplemented in TZInterbase6Sequence, TZOracleSequence, and TZPostgreSQLSequence.
Definition at line 1540 of file ZDbcConnection.pas.
string TZAbstractSequence::GetCurrentValueSQL | ( | ) |
Reimplemented from IZSequence.
Reimplemented in TZInterbase6Sequence, TZOracleSequence, and TZPostgreSQLSequence.
string TZAbstractSequence::GetName | ( | ) | [protected] |
Returns a name of the sequence generator.
Reimplemented from IZSequence.
Definition at line 1516 of file ZDbcConnection.pas.
Int64 TZAbstractSequence::GetNextValue | ( | ) |
Gets the next unique key generated by this sequence.
the | next generated unique key. |
Reimplemented from IZSequence.
Reimplemented in TZInterbase6Sequence, TZOracleSequence, and TZPostgreSQLSequence.
Definition at line 1559 of file ZDbcConnection.pas.
string TZAbstractSequence::GetNextValueSQL | ( | ) |
Reimplemented from IZSequence.
Reimplemented in TZInterbase6Sequence, TZOracleSequence, and TZPostgreSQLSequence.
TZAbstractSequence::SetBlockSize | ( | const Integer | Value | ) | [protected] |
Sets the block size for this sequence.
Value | the block size. |
Reimplemented from IZSequence.
Definition at line 1578 of file ZDbcConnection.pas.
TZAbstractSequence::SetName | ( | const string | Value | ) | [protected] |
Sets a name of the sequence generator.
Value | a name of this sequence generator. |
Reimplemented from IZSequence.
Definition at line 1591 of file ZDbcConnection.pas.
Integer TZAbstractSequence::BlockSize |
SetBlockSize For writing
Definition at line 498 of file ZDbcConnection.pas.
IZConnection TZAbstractSequence::Connection [protected] |
FConnection For writing
Definition at line 464 of file ZDbcConnection.pas.
Integer TZAbstractSequence::FBlockSize [private] |
Definition at line 446 of file ZDbcConnection.pas.
IZConnection TZAbstractSequence::FConnection [private] |
Definition at line 448 of file ZDbcConnection.pas.
string TZAbstractSequence::FName [private] |
Definition at line 444 of file ZDbcConnection.pas.
string TZAbstractSequence::Name |