Class: QueryIndex

QueryIndex(nameopt, typeNameopt)

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.

Constructor

new QueryIndex(nameopt, typeNameopt)

Public constructor.

Parameters:
Name Type Attributes Default Description
name string <optional>
null
typeName string <optional>
QueryIndex.INDEX_TYPE.SORTED
Source:

Members

(static, readonly) INDEX_TYPE

Properties:
Name Type Description
SORTED

0

FULLTEXT

1

GEOSPATIAL

2

Source:

Methods

getFields() → {Map.<string, boolean>}

Source:
Returns:
Type
Map.<string, boolean>

getInlineSize() → {number}

Source:
Returns:
Type
number

getName() → {string}

Source:
Returns:
Type
string

getType() → {QueryIndex.INDEX_TYPE}

Source:
Returns:
Type
QueryIndex.INDEX_TYPE

setFields(fields) → {QueryIndex}

Parameters:
Name Type Description
fields Map.<string, boolean>
Source:
Returns:
  • the same instance of the QueryIndex.
Type
QueryIndex

setInlineSize(inlineSize) → {QueryIndex}

Parameters:
Name Type Description
inlineSize number
Source:
Returns:
  • the same instance of the QueryIndex.
Type
QueryIndex

setName(name) → {QueryIndex}

Parameters:
Name Type Description
name string
Source:
Returns:
  • the same instance of the QueryIndex.
Type
QueryIndex

setType(type) → {QueryIndex}

Parameters:
Name Type Description
type QueryIndex.INDEX_TYPE
Source:
Throws:

if error.

Type
IgniteClientError
Returns:
  • the same instance of the QueryIndex.
Type
QueryIndex