bereng commented on code in PR #2436:
URL: https://github.com/apache/cassandra/pull/2436#discussion_r1257709700
##########
src/java/org/apache/cassandra/cql3/functions/types/GettableByIndexData.java:
##########
@@ -465,6 +465,21 @@ public interface GettableByIndexData
*/
public <K, V> Map<K, V> getMap(int i, TypeToken<K> keysType, TypeToken<V>
valuesType);
+ /**
+ * Returns the {@code i}th value as a vector.
+ *
+ * <p>This method uses the {@link CodecRegistry} to find a codec to
convert the underlying CQL
+ * type to a {@link List} (if the CQL type is a UDT, the registry will
generate a codec
Review Comment:
Nice catch! I hadn't gone that deep yet. Glad you caught it :-)
--
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]