# Class: QueryEntity

## QueryEntity()

Class representing one Query Entity element 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 QueryEntity()

Public constructor.

Source:
  - CacheConfiguration.js, line 118

### Methods

#### getAliases() → {Map.<string, string>}

Source:
  - CacheConfiguration.js, line 279

##### Returns:

Type
  Map.<string, string>

#### getFields() → {Array.<QueryField>}

Source:
  - CacheConfiguration.js, line 258

##### Returns:

Type
  Array.<QueryField>

#### getIndexes() → {Array.<QueryIndex>}

Source:
  - CacheConfiguration.js, line 300

##### Returns:

Type
  Array.<QueryIndex>

#### getKeyFieldName() → {string}

Source:
  - CacheConfiguration.js, line 216

##### Returns:

Type
  string

#### getKeyTypeName() → {string}

Source:
  - CacheConfiguration.js, line 153

##### Returns:

Type
  string

#### getTableName() → {string}

Source:
  - CacheConfiguration.js, line 195

##### Returns:

Type
  string

#### getValueFieldName() → {string}

Source:
  - CacheConfiguration.js, line 237

##### Returns:

Type
  string

#### getValueTypeName() → {string}

Source:
  - CacheConfiguration.js, line 174

##### Returns:

Type
  string

#### setAliases(aliases) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`aliases` | Map.<string, string> |

Source:
  - CacheConfiguration.js, line 269

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setFields(fields) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`fields` | Array.<QueryField> |

Source:
  - CacheConfiguration.js, line 248

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setIndexes(indexes) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`indexes` | Array.<QueryIndex> |

Source:
  - CacheConfiguration.js, line 290

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setKeyFieldName(keyFieldName) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`keyFieldName` | string |

Source:
  - CacheConfiguration.js, line 206

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setKeyTypeName(keyTypeName) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`keyTypeName` | string |

Source:
  - CacheConfiguration.js, line 143

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setTableName(tableName) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`tableName` | string |

Source:
  - CacheConfiguration.js, line 185

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setValueFieldName(valueFieldName) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`valueFieldName` | string |

Source:
  - CacheConfiguration.js, line 227

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity

#### setValueTypeName(valueTypeName) → {QueryEntity}

##### Parameters:

Name | Type | Description
--- | --- | ---
`valueTypeName` | string |

Source:
  - CacheConfiguration.js, line 164

##### Returns:

- the same instance of the QueryEntity.

Type
  QueryEntity