## Uses of Class
org.apache.ignite.cache.QueryEntity

Packages that use QueryEntity
org.apache.ignite.cache: Contains main Data Grid APIs.
org.apache.ignite.cdc
org.apache.ignite.client: Contains Ignite Thin Client API classes.
org.apache.ignite.configuration: Contains configuration-related classes.
org.apache.ignite.internal.management.cache
org.apache.ignite.internal.processors.cache: This package contain cache-related processors & persistence implementation.
org.apache.ignite.internal.processors.platform.client.cache
org.apache.ignite.internal.processors.platform.utils
org.apache.ignite.internal.processors.query
org.apache.ignite.internal.processors.query.schema.operation

### Uses of QueryEntity in org.apache.ignite.cache

Methods in org.apache.ignite.cache that return QueryEntity
`QueryEntity` QueryEntity.`addQueryField​(String fullName, String type, String alias)` Utility method for building query entities programmatically.
`QueryEntity` QueryEntity.`setAliases​(Map<String,​String> aliases)` Sets mapping from full property name in dot notation to an alias that will be used as SQL column name.
`QueryEntity` QueryEntity.`setDefaultFieldValues​(Map<String,​Object> defaultFieldValues)` Sets fields default values.
`QueryEntity` QueryEntity.`setFields​(LinkedHashMap<String,​String> fields)` Sets query fields for this query pair.
`QueryEntity` QueryEntity.`setFieldsPrecision​(Map<String,​Integer> fieldsPrecision)` Sets fieldsPrecision map for a fields.
`QueryEntity` QueryEntity.`setFieldsScale​(Map<String,​Integer> fieldsScale)` Sets fieldsScale map for a fields.
`QueryEntity` QueryEntity.`setIndexes​(Collection<QueryIndex> idxs)` Sets a collection of index entities.
`QueryEntity` QueryEntity.`setKeyFieldName​(String keyFieldName)` Sets key field name.
`QueryEntity` QueryEntity.`setKeyFields​(Set<String> keyFields)` Gets query fields for this query pair that belongs to the key.
`QueryEntity` QueryEntity.`setKeyType​(String keyType)` Sets key type for this query pair.
`QueryEntity` QueryEntity.`setNotNullFields​(@Nullable Set<String> notNullFields)` Sets names of fields that must checked for null.
`QueryEntity` QueryEntity.`setTableName​(String tableName)` Sets table name for this query entity.
`QueryEntity` QueryEntity.`setValueFieldName​(String valueFieldName)` Sets value field name.
`QueryEntity` QueryEntity.`setValueType​(String valType)` Sets value type for this query pair.

Methods in org.apache.ignite.cache with parameters of type QueryEntity
`@NotNull QueryEntityPatch` QueryEntity.`makePatch​(QueryEntity target)` Make query entity patch.

Constructors in org.apache.ignite.cache with parameters of type QueryEntity
`QueryEntity​(QueryEntity other)` Copy constructor.

### Uses of QueryEntity in org.apache.ignite.cdc

Methods in org.apache.ignite.cdc that return types with arguments of type QueryEntity
`Collection<QueryEntity>` CdcCacheEvent.`queryEntities()` Returns current state of configured `QueryEntity`.

### Uses of QueryEntity in org.apache.ignite.client

Methods in org.apache.ignite.client that return QueryEntity
`QueryEntity[]` ClientCacheConfiguration.`getQueryEntities()`

Methods in org.apache.ignite.client with parameters of type QueryEntity
`ClientCacheConfiguration` ClientCacheConfiguration.`setQueryEntities​(QueryEntity... newVal)`

### Uses of QueryEntity in org.apache.ignite.configuration

Methods in org.apache.ignite.configuration that return types with arguments of type QueryEntity
`Collection<QueryEntity>` CacheConfiguration.`getQueryEntities()` Gets a collection of configured query entities.

Method parameters in org.apache.ignite.configuration with type arguments of type QueryEntity
`CacheConfiguration<K,​V>` CacheConfiguration.`setQueryEntities​(Collection<QueryEntity> qryEntities)` Sets query entities configuration.

### Uses of QueryEntity in org.apache.ignite.internal.management.cache

Method parameters in org.apache.ignite.internal.management.cache with type arguments of type QueryEntity
`static List<QueryEntity>` QueryEntity.`list​(Collection<QueryEntity> qryEntities)`

### Uses of QueryEntity in org.apache.ignite.internal.processors.cache

Methods in org.apache.ignite.internal.processors.cache that return types with arguments of type QueryEntity
`Collection<QueryEntity>` StoredCacheData.`queryEntities()`

Method parameters in org.apache.ignite.internal.processors.cache with type arguments of type QueryEntity
`QuerySchemaPatch` DynamicCacheDescriptor.`makeSchemaPatch​(Collection<QueryEntity> target)` Make schema patch for this cache.
`void` GridCacheContext.`onSchemaAddQueryEntity​(Collection<QueryEntity> entities, String sqlSchema, boolean isSqlEscape, int qryParallelism)` Apply changes on enable indexing.
`static <K,​V> CacheConfiguration<K,​V>` GridCacheUtils.`patchCacheConfiguration​(CacheConfiguration<K,​V> oldCfg, Collection<QueryEntity> entities, String sqlSchema, boolean isSqlEscape, int qryParallelism)` Patch cache configuration with `SchemaAddQueryEntityOperation`.
`void` StoredCacheData.`queryEntities​(Collection<QueryEntity> qryEntities)`

### Uses of QueryEntity in org.apache.ignite.internal.processors.platform.client.cache

Methods in org.apache.ignite.internal.processors.platform.client.cache that return QueryEntity
`static QueryEntity` ClientCacheConfigurationSerializer.`readQueryEntity​(BinaryRawReader in, ClientProtocolContext protocolCtx)` Reads the query entity.

### Uses of QueryEntity in org.apache.ignite.internal.processors.platform.utils

Methods in org.apache.ignite.internal.processors.platform.utils that return QueryEntity
`static QueryEntity` PlatformConfigurationUtils.`readQueryEntity​(BinaryRawReader in)` Reads the query entity.

Methods in org.apache.ignite.internal.processors.platform.utils with parameters of type QueryEntity
`static void` PlatformConfigurationUtils.`writeQueryEntity​(BinaryRawWriter writer, QueryEntity qryEntity)` Write query entity.

### Uses of QueryEntity in org.apache.ignite.internal.processors.query

Subclasses of QueryEntity in org.apache.ignite.internal.processors.query
`class` `QueryEntityEx` Extended query entity with not-null fields support.

Methods in org.apache.ignite.internal.processors.query that return QueryEntity
`static QueryEntity` QueryUtils.`copy​(QueryEntity entity)` Copy query entity.
`QueryEntity` QueryEntityEx.`fillAbsentPKsWithDefaults​(boolean fillAbsentPKsWithDefaults)`
`QueryEntity` QueryEntityEx.`implicitPk​(boolean implicitPk)`
`static QueryEntity` QueryUtils.`normalizeQueryEntity​(GridKernalContext ctx, QueryEntity entity, boolean escape)` Normalize query entity.
`QueryEntity` QueryEntityEx.`setAffinityKeyInlineSize​(Integer affKeyInlineSize)` Sets INLINE_SIZE for AFFINITY_KEY index.
`QueryEntity` QueryEntityEx.`setNotNullFields​(@Nullable Set<String> notNullFields)` Sets names of fields that must checked for null.
`QueryEntity` QueryEntityEx.`setPreserveKeysOrder​(boolean preserveKeysOrder)`
`QueryEntity` QueryEntityEx.`setPrimaryKeyInlineSize​(Integer pkInlineSize)` Sets INLINE_SIZE for PK index.

Methods in org.apache.ignite.internal.processors.query that return types with arguments of type QueryEntity
`Collection<QueryEntity>` QuerySchema.`entities()`
`@NotNull Collection<QueryEntity>` QuerySchemaPatch.`getEntityToAdd()`
`static Collection<QueryEntity>` QueryUtils.`normalizeQueryEntities​(GridKernalContext ctx, Collection<QueryEntity> entities, CacheConfiguration<?,​?> cfg)` Normalize cache query entities.

Methods in org.apache.ignite.internal.processors.query with parameters of type QueryEntity
`static QueryEntity` QueryUtils.`copy​(QueryEntity entity)` Copy query entity.
`IgniteInternalFuture<?>` GridQueryProcessor.`dynamicAddQueryEntity​(String cacheName, String schemaName, QueryEntity entity, Integer qryParallelism, boolean sqlEscape)` Enable dynamically indexing of existing cache.

`void`

GridQueryProcessor.`dynamicTableCreate​(String schemaName, QueryEntity entity, String templateName, String cacheName, String cacheGroup, @Nullable String dataRegion, String affinityKey, @Nullable CacheAtomicityMode atomicityMode, @Nullable CacheWriteSynchronizationMode writeSyncMode, @Nullable Integer backups, boolean ifNotExists, @Nullable Boolean encrypted, @Nullable Integer qryParallelism)`

Create cache and table from given query entity.

`static String` QueryUtils.`fieldNameByAlias​(QueryEntity entity, String alias)` Get field name by alias.
`static String` QueryUtils.`indexName​(QueryEntity entity, QueryIndex idx)` Get index name.
`static QueryEntity` QueryUtils.`normalizeQueryEntity​(GridKernalContext ctx, QueryEntity entity, boolean escape)` Normalize query entity.
`static void` QueryUtils.`processBinaryMeta​(GridKernalContext ctx, QueryEntity qryEntity, QueryTypeDescriptorImpl d)` Processes declarative metadata for binary object.
`static void` QueryUtils.`processClassMeta​(QueryEntity qryEntity, QueryTypeDescriptorImpl d, CacheObjectContext coCtx)` Processes declarative metadata for binary object.
`static boolean` QueryUtils.`removeFieldAndAlias​(QueryEntity entity, String alias)` Remove field and corresponding alias by the alias name.
`static String` QueryUtils.`tableName​(QueryEntity entity)` Get table name for entity.
`static QueryTypeCandidate` QueryUtils.`typeForQueryEntity​(GridKernalContext ctx, String cacheName, String schemaName, GridCacheContextInfo cacheInfo, QueryEntity qryEntity, List<Class<?>> mustDeserializeClss, boolean escape)` Create type candidate for query entity.
`static SchemaOperationException` QueryUtils.`validateDropColumn​(QueryEntity entity, String fieldName, String colName)` Checks if given column can be removed from table using its `QueryEntity`.

Method parameters in org.apache.ignite.internal.processors.query with type arguments of type QueryEntity
`QuerySchemaPatch` QuerySchema.`makePatch​(Collection<QueryEntity> target)` Make query schema patch.
`QuerySchemaPatch` QuerySchema.`makePatch​(CacheConfiguration<?,​?> targetCfg, Collection<QueryEntity> target)` Make query schema patch.
`static Collection<QueryEntity>` QueryUtils.`normalizeQueryEntities​(GridKernalContext ctx, Collection<QueryEntity> entities, CacheConfiguration<?,​?> cfg)` Normalize cache query entities.

Constructors in org.apache.ignite.internal.processors.query with parameters of type QueryEntity
`QueryEntityEx​(QueryEntity other)` Copying constructor.

Constructor parameters in org.apache.ignite.internal.processors.query with type arguments of type QueryEntity
`QuerySchema​(Collection<QueryEntity> entities)` Constructor.

### Uses of QueryEntity in org.apache.ignite.internal.processors.query.schema.operation

Methods in org.apache.ignite.internal.processors.query.schema.operation that return types with arguments of type QueryEntity
`Collection<QueryEntity>` SchemaAddQueryEntityOperation.`entities()`

Constructor parameters in org.apache.ignite.internal.processors.query.schema.operation with type arguments of type QueryEntity
`SchemaAddQueryEntityOperation​(UUID opId, String cacheName, String schemaName, Collection<QueryEntity> entities, int qryParallelism, boolean sqlEscape)`