adelapena commented on code in PR #2556:
URL: https://github.com/apache/cassandra/pull/2556#discussion_r1383296272
##########
src/java/org/apache/cassandra/cql3/MultiColumnRelation.java:
##########
@@ -95,6 +96,18 @@ public static MultiColumnRelation
createInRelation(List<ColumnIdentifier> entiti
return new MultiColumnRelation(entities, Operator.IN, null, inValues,
null);
}
+ /**
+ * Creates a multi-column NOT IN relation with a list of NOT IN values or
markers.
+ * For example: {code SELECT ... WHERE (a, b) NOT IN ((0, 1), (2, 3))}
+ *
+ * @param entities the columns on the LHS of the relation
+ * @param inValues a list of Tuples.Literal instances or a Tuples.Raw
markers
+ * @return a new <code>MultiColumnRelation</code> instance
+ */public static MultiColumnRelation
createNotInRelation(List<ColumnIdentifier> entities, List<? extends
Term.MultiColumnRaw> inValues)
Review Comment:
Nit: missing line break
```suggestion
*/
public static MultiColumnRelation
createNotInRelation(List<ColumnIdentifier> entities, List<? extends
Term.MultiColumnRaw> inValues)
```
--
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]