QueryIndexManager
in package
implements
QueryIndexManagerInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $core : resource
- buildDeferredIndexes() : mixed
- Build Deferred builds all indexes which are currently in deferred state.
- createIndex() : mixed
- Creates a new index
- createPrimaryIndex() : mixed
- Creates a new primary index
- dropIndex() : mixed
- Drops an index
- dropPrimaryIndex() : mixed
- Drops a primary index
- getAllIndexes() : array<string|int, mixed>
- Fetches all indexes from the server.
- watchIndexes() : mixed
- Watch polls indexes until they are online.
Properties
$core
private
resource
$core
Methods
buildDeferredIndexes()
Build Deferred builds all indexes which are currently in deferred state.
public
buildDeferredIndexes(string $bucketName[, BuildQueryIndexesOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $options : BuildQueryIndexesOptions|null = null
Tags
Return values
mixed —createIndex()
Creates a new index
public
createIndex(string $bucketName, string $indexName, array<string|int, mixed> $keys[, CreateQueryIndexOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $indexName : string
- $keys : array<string|int, mixed>
- $options : CreateQueryIndexOptions|null = null
Tags
Return values
mixed —createPrimaryIndex()
Creates a new primary index
public
createPrimaryIndex(string $bucketName[, CreateQueryPrimaryIndexOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $options : CreateQueryPrimaryIndexOptions|null = null
Tags
Return values
mixed —dropIndex()
Drops an index
public
dropIndex(string $bucketName, string $indexName[, DropQueryIndexOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $indexName : string
- $options : DropQueryIndexOptions|null = null
Tags
Return values
mixed —dropPrimaryIndex()
Drops a primary index
public
dropPrimaryIndex(string $bucketName[, DropQueryPrimaryIndexOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $options : DropQueryPrimaryIndexOptions|null = null
Tags
Return values
mixed —getAllIndexes()
Fetches all indexes from the server.
public
getAllIndexes(string $bucketName[, GetAllQueryIndexesOptions|null $options = null ]) : array<string|int, mixed>
Parameters
- $bucketName : string
- $options : GetAllQueryIndexesOptions|null = null
Tags
Return values
array<string|int, mixed> —watchIndexes()
Watch polls indexes until they are online.
public
watchIndexes(string $bucketName, array<string|int, mixed> $indexNames, int $timeoutMilliseconds[, WatchQueryIndexesOptions|null $options = null ]) : mixed
Parameters
- $bucketName : string
- $indexNames : array<string|int, mixed>
- $timeoutMilliseconds : int
- $options : WatchQueryIndexesOptions|null = null