PHP Client for Apache Ignite
|
Public Member Functions | |
__construct (string $name=null, int $type=self::TYPE_SORTED) | |
setName (string $name) | |
getName () | |
setType (int $type) | |
getType () | |
setInlineSize (int $inlineSize) | |
getInlineSize () | |
setFields (array $fields) | |
getFields () | |
Public Attributes | |
QueryIndexType | |
const | TYPE_SORTED = 0 |
const | TYPE_FULLTEXT = 1 |
const | TYPE_GEOSPATIAL = 2 |
Class representing one Query Index element of QueryEntity of Ignite CacheConfiguration.
All configuration settings are optional and have defaults which are defined on a server side.
See Apache Ignite documentation for details of every configuration setting.
Apache\Ignite\Cache\QueryIndex::__construct | ( | string | $name = null , |
int | $type = self::TYPE_SORTED |
||
) |
QueryIndex constructor.
string | null | $name | |
int | $type | one of QueryIndexType constants. |
ClientException | if error. |
Apache\Ignite\Cache\QueryIndex::getFields | ( | ) |
Apache\Ignite\Cache\QueryIndex::getInlineSize | ( | ) |
Apache\Ignite\Cache\QueryIndex::getName | ( | ) |
Apache\Ignite\Cache\QueryIndex::getType | ( | ) |
Apache\Ignite\Cache\QueryIndex::setFields | ( | array | $fields | ) |
array[string | => bool] $fields |
Apache\Ignite\Cache\QueryIndex::setInlineSize | ( | int | $inlineSize | ) |
int | $inlineSize |
Apache\Ignite\Cache\QueryIndex::setName | ( | string | $name | ) |
string | $name |
Apache\Ignite\Cache\QueryIndex::setType | ( | int | $type | ) |
int | $type | one of QueryIndexType constants. |
ClientException | if error. |