Operator innerIntersect = API.intersect_Ordered(
xOneScan,
fooScan,
mdIndex,
rIndex,
mdIndex.index().getAllColumns().size() - 2,
rIndex.index().getAllColumns().size() - 1,
new boolean[]{true},
JoinType.INNER_JOIN,
EnumSet.of(IntersectOption.OUTPUT_LEFT, IntersectOption.SKIP_SCAN),
Arrays.asList(comparableIntBigint.getComparison()),