bereng commented on code in PR #2436:
URL: https://github.com/apache/cassandra/pull/2436#discussion_r1257844457
##########
src/java/org/apache/cassandra/cql3/functions/types/TypeCodec.java:
##########
@@ -488,6 +501,16 @@ public DataType getCqlType()
return cqlType;
}
+ /**
+ * Checks if all values are of fixed length.
+ *
+ * @return {@code true} if all values are of fixed length, {@code false}
otherwise.
+ */
+ public boolean isValueLengthFixed()
Review Comment:
I wonder if you could create Fixed/Variable classes to avoid all those
isValueLengthFixed() methods
--
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]