AMashenkov commented on a change in pull request #518:
URL: https://github.com/apache/ignite-3/pull/518#discussion_r799255123
##########
File path:
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/SqlQueryProcessor.java
##########
@@ -256,4 +299,68 @@ public boolean notify(@NotNull TableEventParameters
parameters, @Nullable Throwa
return false;
}
}
+
+ private abstract static class AbstractIndexEventListener implements
EventListener<IndexEventParameters> {
+ protected final SqlSchemaManagerImpl schemaHolder;
+
+ private AbstractIndexEventListener(
+ SqlSchemaManagerImpl schemaHolder
+ ) {
+ this.schemaHolder = schemaHolder;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public void remove(@NotNull Throwable exception) {
+ // No-op.
+ }
+ }
+
+ private static class IndexCreatedListener extends
AbstractIndexEventListener {
+ private IndexCreatedListener(
+ SqlSchemaManagerImpl schemaHolder
+ ) {
Review comment:
```suggestion
private IndexCreatedListener(SqlSchemaManagerImpl schemaHolder) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]