Class QuerySchemaPatch
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.QuerySchemaPatch
-
public class QuerySchemaPatch extends Object
Query schema patch which containsSchemaAbstractOperationoperations for changing query entities. This patch is high level path onQueryEntityPatchbut it has operations for allQueryEntityin schema and also containsQueryEntityfor adding to schema by whole.- See Also:
QueryEntityPatch
-
-
Constructor Summary
Constructors Constructor Description QuerySchemaPatch(@NotNull Collection<SchemaAbstractOperation> patchOperations, @NotNull Collection<QueryEntity> entityToAdd, String conflictsMessage)Create patch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConflictsMessage()@NotNull Collection<QueryEntity>getEntityToAdd()@NotNull Collection<SchemaAbstractOperation>getPatchOperations()booleanhasConflicts()booleanisEmpty()StringtoString()
-
-
-
Constructor Detail
-
QuerySchemaPatch
public QuerySchemaPatch(@NotNull @NotNull Collection<SchemaAbstractOperation> patchOperations, @NotNull @NotNull Collection<QueryEntity> entityToAdd, String conflictsMessage)Create patch.
-
-
Method Detail
-
hasConflicts
public boolean hasConflicts()
- Returns:
trueif patch has conflict.
-
getConflictsMessage
public String getConflictsMessage()
- Returns:
- Conflicts message.
-
isEmpty
public boolean isEmpty()
- Returns:
trueif patch is empty and can't be applying.
-
getPatchOperations
@NotNull public @NotNull Collection<SchemaAbstractOperation> getPatchOperations()
- Returns:
- Patch operations for applying.
-
getEntityToAdd
@NotNull public @NotNull Collection<QueryEntity> getEntityToAdd()
- Returns:
- Entities which should be added by whole.
-
-