blerer commented on code in PR #3095:
URL: https://github.com/apache/cassandra/pull/3095#discussion_r1567117951


##########
src/java/org/apache/cassandra/cql3/Operator.java:
##########
@@ -248,31 +485,31 @@ public boolean isSatisfiedBy(AbstractType<?> type, 
ByteBuffer leftOperand, ByteB
     LIKE(14)
     {
         @Override
-        public String toString()
+        public boolean isSatisfiedBy(AbstractType<?> type, ByteBuffer 
leftOperand, ByteBuffer rightOperand)
         {
-            return "LIKE";
+            throw new UnsupportedOperationException();
         }
 
         @Override
-        public boolean isSatisfiedBy(AbstractType<?> type, ByteBuffer 
leftOperand, ByteBuffer rightOperand)
+        public boolean requiresIndexing()
         {
-            throw new UnsupportedOperationException();
+            return true;
         }
     },
     ANN(15)
     {
-        @Override
-        public String toString()
-        {
-            return "ANN";
-        }
-

Review Comment:
   Same story than for the previous toString.



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