yifan-c commented on code in PR #4458:
URL: https://github.com/apache/cassandra/pull/4458#discussion_r2495995199


##########
src/java/org/apache/cassandra/schema/SystemDistributedKeyspace.java:
##########
@@ -481,6 +509,38 @@ public static CompressionDictionary 
retrieveCompressionDictionary(String keyspac
         }
     }
 
+    /**
+     * Retrieves all dictionaries for a given keyspace and table.
+     *
+     * @param keyspaceName the keyspace name to retrieve the dictionary for
+     * @param tableName the table name to retrieve the dictionary for
+     * @return the compression dictionaries identified by the specified 
keyspace and table,
+     *         or null if no dictionary exists or if an error occurs during 
retrieval
+     */
+    @Nullable

Review Comment:
   
`org.apache.cassandra.db.compression.CompressionDictionaryManager#listCompressionDictionaries`
 is the only consumer of the method. Its outcome does not distinguish between 
whether the return value is null or empty list. Anyway, it is minor and I'd 
just defer to you. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to