Class QuerySequenceGenerator
Generates a linear progression of sequence numbers, overlapping if the storage is exceeded.
Inherited Members
Namespace: Couchbase.Query
Assembly: Couchbase.NetClient.dll
Syntax
public static class QuerySequenceGenerator
Methods
| Edit this page View SourceGetNext()
Gets the next sequence in the progression.
Declaration
public static uint GetNext()
Returns
Type | Description |
---|---|
uint |
GetNextAsString()
Gets the next sequence in the progression as a string.
Declaration
public static string GetNextAsString()
Returns
Type | Description |
---|---|
string |
Reset()
Resets the sequence to zero. Mainly for testing.
Declaration
public static void Reset()