adelapena commented on code in PR #1739:
URL: https://github.com/apache/cassandra/pull/1739#discussion_r931182414
##########
src/java/org/apache/cassandra/cql3/selection/ElementsSelector.java:
##########
@@ -43,12 +44,19 @@
*/
abstract class ElementsSelector extends Selector
{
+ /**
+ * An empty collection is composed of an int size of zero.
+ */
+ private static final ByteBuffer EMPTY_FROZEN_COLLECTION =
ByteBufferUtil.bytes(0);
+
protected final Selector selected;
+ protected final CollectionType<?> type;
Review Comment:
Right, we can use the `type` in the parent class.
--
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]