| Package | Description |
|---|---|
| org.apache.ignite.cache |
Contains main Data Grid APIs.
|
| org.apache.ignite.configuration |
Contains configuration-related classes.
|
| org.apache.ignite.internal.processors.cache | |
| org.apache.ignite.internal.processors.query | |
| org.apache.ignite.internal.visor.query |
| Modifier and Type | Method and Description |
|---|---|
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.setFields(LinkedHashMap<String,String> fields)
Sets query fields for this query pair.
|
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.setValueFieldName(String valueFieldName)
Sets value field name.
|
QueryEntity |
QueryEntity.setValueType(String valType)
Sets value type for this query pair.
|
| Constructor and Description |
|---|
QueryEntity(QueryEntity other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<QueryEntity> |
CacheConfiguration.getQueryEntities()
Gets a collection of configured query entities.
|
| Modifier and Type | Method and Description |
|---|---|
CacheConfiguration<K,V> |
CacheConfiguration.setQueryEntities(Collection<QueryEntity> qryEntities)
Sets query entities configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<QueryEntity> |
StoredCacheData.queryEntities() |
| Modifier and Type | Method and Description |
|---|---|
void |
StoredCacheData.queryEntities(Collection<QueryEntity> qryEntities) |
| Modifier and Type | Method and Description |
|---|---|
static QueryEntity |
QueryUtils.normalizeQueryEntity(QueryEntity entity,
boolean escape)
Normalize query entity.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<QueryEntity> |
QuerySchema.entities() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridQueryProcessor.dynamicTableCreate(String schemaName,
QueryEntity entity,
String templateName,
String cacheGroup,
String affinityKey,
CacheAtomicityMode atomicityMode,
int backups,
boolean ifNotExists)
Create cache and table from given query entity.
|
static String |
QueryUtils.indexName(QueryEntity entity,
QueryIndex idx)
Get index name.
|
static QueryEntity |
QueryUtils.normalizeQueryEntity(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 String |
QueryUtils.tableName(QueryEntity entity)
Get table name for entity.
|
static QueryTypeCandidate |
QueryUtils.typeForQueryEntity(String cacheName,
GridCacheContext cctx,
QueryEntity qryEntity,
List<Class<?>> mustDeserializeClss,
boolean escape)
Create type candidate for query entity.
|
| Constructor and Description |
|---|
QuerySchema(Collection<QueryEntity> entities)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<VisorQueryEntity> |
VisorQueryEntity.list(Collection<QueryEntity> qryEntities) |
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017