N1qlIndex
class N1qlIndex (View source)
Represents N1QL index definition
Constants
| UNSPECIFIED |
|
| GSI |
|
| VIEW |
|
Properties
| string | $name | Name of the index |
|
| bool | $isPrimary | Is it primary index |
|
| int | $type | Type of the index |
|
| string | $state | The descriptive state of the index |
|
| string | $keyspace | The keyspace for the index, typically the bucket name |
|
| string | $namespace | The namespace for the index. A namespace is a resource pool that contains multiple keyspaces |
|
| array | $fields | The fields covered by index |
|
| string | $condition | Return the string representation of the index's condition (the WHERE clause of the index), or an empty String if no condition was set. |