Creates an IN predicate with a list of values. For example, b.scan("Emp") .filter(b.in(b.field("deptno"), b.literal(10), b.literal(20))) is equivalent to SQL SELECT FROM Emp WHERE deptno IN (10, 20)
(RexNode arg, RexNode... ranges)
| 797 | * WHERE deptno IN (10, 20) |
| 798 | * }</pre> */ |
| 799 | public RexNode in(RexNode arg, RexNode... ranges) { |
| 800 | return in(arg, ImmutableList.copyOf(ranges)); |
| 801 | } |
| 802 | |
| 803 | /** Creates an IN predicate with a list of values. |
| 804 | * |