Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class QueryIndexManagerExtensions

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

Methods

View Source

BuildDeferredIndexesAsync(IQueryIndexManager, string)

Declaration
public static Task BuildDeferredIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Returns
Type Description
Task
View Source

BuildDeferredIndexesAsync(IQueryIndexManager, string, Action<BuildDeferredQueryIndexOptions>)

Declaration
public static Task BuildDeferredIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action<BuildDeferredQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Action<BuildDeferredQueryIndexOptions> configureOptions
Returns
Type Description
Task
View Source

CreateIndexAsync(IQueryIndexManager, string, string, IEnumerable<string>)

Declaration
public static Task CreateIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName, IEnumerable<string> fields)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
string indexName
IEnumerable<string> fields
Returns
Type Description
Task
View Source

CreateIndexAsync(IQueryIndexManager, string, string, IEnumerable<string>, Action<CreateQueryIndexOptions>)

Declaration
public static Task CreateIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName, IEnumerable<string> fields, Action<CreateQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
string indexName
IEnumerable<string> fields
Action<CreateQueryIndexOptions> configureOptions
Returns
Type Description
Task
View Source

CreatePrimaryIndexAsync(IQueryIndexManager, string)

Declaration
public static Task CreatePrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Returns
Type Description
Task
View Source

CreatePrimaryIndexAsync(IQueryIndexManager, string, Action<CreatePrimaryQueryIndexOptions>)

Declaration
public static Task CreatePrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action<CreatePrimaryQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Action<CreatePrimaryQueryIndexOptions> configureOptions
Returns
Type Description
Task
View Source

DropIndexAsync(IQueryIndexManager, string, string)

Declaration
public static Task DropIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
string indexName
Returns
Type Description
Task
View Source

DropIndexAsync(IQueryIndexManager, string, string, Action<DropQueryIndexOptions>)

Declaration
public static Task DropIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName, Action<DropQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
string indexName
Action<DropQueryIndexOptions> configureOptions
Returns
Type Description
Task
View Source

DropPrimaryIndexAsync(IQueryIndexManager, string)

Declaration
public static Task DropPrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Returns
Type Description
Task
View Source

DropPrimaryIndexAsync(IQueryIndexManager, string, Action<DropPrimaryQueryIndexOptions>)

Declaration
public static Task DropPrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action<DropPrimaryQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Action<DropPrimaryQueryIndexOptions> configureOptions
Returns
Type Description
Task
View Source

GetAllIndexesAsync(IQueryIndexManager, string)

Declaration
public static Task<IEnumerable<QueryIndex>> GetAllIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Returns
Type Description
Task<IEnumerable<QueryIndex>>
View Source

GetAllIndexesAsync(IQueryIndexManager, string, Action<GetAllQueryIndexOptions>)

Declaration
public static Task<IEnumerable<QueryIndex>> GetAllIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action<GetAllQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
Action<GetAllQueryIndexOptions> configureOptions
Returns
Type Description
Task<IEnumerable<QueryIndex>>
View Source

WatchIndexesAsync(IQueryIndexManager, string, IEnumerable<string>)

Declaration
public static Task WatchIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, IEnumerable<string> indexNames)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
IEnumerable<string> indexNames
Returns
Type Description
Task
View Source

WatchIndexesAsync(IQueryIndexManager, string, IEnumerable<string>, Action<WatchQueryIndexOptions>)

Declaration
public static Task WatchIndexesAsync(this IQueryIndexManager queryIndexManager, string bucketName, IEnumerable<string> indexNames, Action<WatchQueryIndexOptions> configureOptions)
Parameters
Type Name Description
IQueryIndexManager queryIndexManager
string bucketName
IEnumerable<string> indexNames
Action<WatchQueryIndexOptions> configureOptions
Returns
Type Description
Task
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.