public class QuerySchema extends Object implements Serializable
| Constructor and Description |
|---|
QuerySchema()
Default constructor.
|
QuerySchema(Collection<QueryEntity> entities)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyPatch(QuerySchemaPatch patch)
Apply query schema patch for changing this schema.
|
QuerySchema |
copy()
Copy object.
|
Collection<QueryEntity> |
entities() |
void |
finish(SchemaAbstractOperation op)
Process operation.
|
void |
finish(SchemaFinishDiscoveryMessage msg)
Process finish message.
|
boolean |
isEmpty() |
QuerySchemaPatch |
makePatch(CacheConfiguration<?,?> targetCfg,
Collection<QueryEntity> target)
Make query schema patch.
|
QuerySchemaPatch |
makePatch(Collection<QueryEntity> target)
Make query schema patch.
|
String |
toString() |
public QuerySchema()
public QuerySchema(Collection<QueryEntity> entities)
entities - Query entities.public QuerySchema copy()
public QuerySchemaPatch makePatch(Collection<QueryEntity> target)
target - Query entity list to which current schema should be expanded.QuerySchemaPatchpublic QuerySchemaPatch makePatch(CacheConfiguration<?,?> targetCfg, Collection<QueryEntity> target)
targetCfg - Cache configuration when it should be changed (enabling indexing dynamically).target - Query entity list to which current schema should be expanded.QuerySchemaPatchpublic boolean applyPatch(QuerySchemaPatch patch)
patch - Patch to apply.true if applying was success and false otherwise.public void finish(SchemaFinishDiscoveryMessage msg)
msg - Message.public void finish(SchemaAbstractOperation op)
op - Operation for handle.public Collection<QueryEntity> entities()
public boolean isEmpty()
True if entities is not empty.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021