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