Vladsz83 commented on code in PR #11467:
URL: https://github.com/apache/ignite/pull/11467#discussion_r1715073978


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/management/SchemaDescriptor.java:
##########
@@ -121,6 +124,37 @@ public void drop(TableDescriptor tbl) {
         typeToTbl.remove(new QueryTypeNameKey(tbl.cacheInfo().name(), 
tbl.type().name()));
     }
 
+    /**
+     * @return Views.
+     */
+    public Collection<ViewDescriptor> views() {
+        return views.values();
+    }
+
+    /**
+     * @param viewName View name.
+     * @return View.
+     */
+    public ViewDescriptor viewByName(String viewName) {
+        return views.get(viewName);
+    }
+
+    /**
+     * @param view View descriptor.
+     */
+    public void add(ViewDescriptor view) {
+        views.put(view.name(), view);
+    }
+
+    /**
+     * Drop view.

Review Comment:
   Same: descriptor?



-- 
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]

Reply via email to