adelapena commented on code in PR #4249:
URL: https://github.com/apache/cassandra/pull/4249#discussion_r2231224034


##########
src/java/org/apache/cassandra/index/IndexRegistry.java:
##########
@@ -314,15 +327,30 @@ default void registerIndex(Index index)
     Collection<Index.Group> listIndexGroups();
 
     Index getIndex(IndexMetadata indexMetadata);
+
+    @Nullable
+    Index getIndexByName(String indexName);
+
     Collection<Index> listIndexes();
 
+    /**
+     * Lists the indexes in this registry, minus the ones excluded by the 
specified {@link IndexHints}.
+     *
+     * @param hints the index hints with the indexes to exclude.
+     * @return the indexes in this registry that are not excluded by the hints.
+     */
+    default Collection<Index> listNotExcludedIndexes(IndexHints hints)
+    {
+        return hints.notExcluded(listIndexes());
+    }
+

Review Comment:
   Unused method due to the differences in CQL



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to