BucketManager ClassCouchbase .NET SDK 2.3.3
An intermediate class for doing management operations on a Bucket.
Inheritance Hierarchy

Namespace: Couchbase.Management
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public class BucketManager : IBucketManager

The BucketManager type exposes the following members.

Methods
  NameDescription
Public methodBuildN1qlDeferredIndexes
Builds any indexes that have been created with the "defer" flag and are still in the "pending" state on the current IBucket.
Public methodBuildN1qlDeferredIndexesAsync
Builds any indexes that have been created with the "defered" flag and are still in the "pending" state asynchronously.
Protected methodCreateAuthenticatedHttpClient
Public methodCreateN1qlIndex
Creates a secondary index on the current IBucket reference.
Public methodCreateN1qlIndexAsync
Creates a secondary index with optional fields asynchronously.
Public methodCreateN1qlPrimaryIndex(Boolean)
Creates the primary index for the current bucket if it doesn't already exist.
Public methodCreateN1qlPrimaryIndex(String, Boolean)
Creates a primary index on the current IBucket reference.
Public methodCreateN1qlPrimaryIndexAsync(Boolean)
Creates a primary index on the current IBucket asynchronously.
Public methodCreateN1qlPrimaryIndexAsync(String, Boolean)
Creates a named primary index on the current IBucket asynchronously.
Public methodDropN1qlIndex
Drops a secondary index on the current IBucket reference.
Public methodDropN1qlIndexAsync
Drops an index by name asynchronously.
Public methodDropN1qlPrimaryIndex()
Drops the primary index on the current IBucket.
Public methodDropN1qlPrimaryIndex(String)
Drops the named primary index if it exists on the current IBucket.
Public methodDropN1qlPrimaryIndexAsync
Drops the primary index of the current IBucket asynchronously.
Public methodDropNamedPrimaryIndexAsync
Drops the named primary index on the current IBucket asynchronously.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExecuteIndexRequest
Executes the index request syncronously.
Protected methodExecuteIndexRequestAsync
Executes the index request asynchronously.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Destroys all documents stored within a bucket. This functionality must also be enabled within the server-side bucket settings for safety reasons.
Public methodFlushAsync
Destroys all documents stored within a bucket. This functionality must also be enabled within the server-side bucket settings for safety reasons.
Public methodGetDesignDocument
Retrieves the contents of a design document.
Public methodGetDesignDocumentAsync
Retrieves the contents of a design document.
Public methodGetDesignDocumentsObsolete.
Lists all existing design documents.
Public methodGetDesignDocumentsAsync
Lists all existing design documents.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertDesignDocument
Inserts a design document containing a number of views.
Public methodInsertDesignDocumentAsync
Inserts a design document containing a number of views.
Public methodListN1qlIndexes
Lists the indexes for the current IBucket.
Public methodListN1qlIndexesAsync
Lists the indexes for a the current IBucket asynchronously.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveDesignDocument
Removes a design document.
Public methodRemoveDesignDocumentAsync
Removes a design document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDesignDocument
Updates a design document containing a number of views.
Public methodUpdateDesignDocumentAsync
Updates a design document containing a number of views.
Public methodWatchN1qlIndexes
Watches the indexes.
Public methodWatchN1qlIndexesAsync
Watches the indexes asynchronously.
Top
Properties
  NameDescription
Public propertyBucketName
The name of the Bucket.
Public propertyHttpClient
Public propertyMapper
Top
See Also