Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class QuerySequenceGenerator

Generates a linear progression of sequence numbers, overlapping if the storage is exceeded.

Inheritance
object
QuerySequenceGenerator
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Query
Assembly: Couchbase.NetClient.dll
Syntax
public static class QuerySequenceGenerator

Methods

View Source

GetNext()

Gets the next sequence in the progression.

Declaration
public static uint GetNext()
Returns
Type Description
uint
View Source

GetNextAsString()

Gets the next sequence in the progression as a string.

Declaration
public static string GetNextAsString()
Returns
Type Description
string
View Source

Reset()

Resets the sequence to zero. Mainly for testing.

Declaration
public static void Reset()
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.