Set newValues = Sets.newHashSet(); for (Object value : constValues) { code = translate(col, value, 0); if (code != null) newValues.add(code); Set notInValues = Sets.newHashSet(); for (Object value : constValues) { code = translate(col, value, 0); if (code != null) notInValues.add(code); code = translate(col, firstValue, 0); if (code == null) { result = newCompareFilter(TupleFilter.FilterOperatorEnum.ISNOTNULL, externalCol); code = translate(col, firstValue, 0); if (code == null) { code = translate(col, firstValue, -1); if (code == null) result = newCompareFilter(TupleFilter.FilterOperatorEnum.ISNOTNULL, externalCol); code = translate(col, firstValue, -1); if (code == null) { result = ConstantTupleFilter.FALSE; code = translate(col, firstValue, 0); if (code == null) { code = translate(col, firstValue, 1);
Set newValues = Sets.newHashSet(); for (Object value : constValues) { code = translate(col, value, 0); if (code != null) newValues.add(code); Set notInValues = Sets.newHashSet(); for (Object value : constValues) { code = translate(col, value, 0); if (code != null) notInValues.add(code); code = translate(col, firstValue, 0); if (code == null) { result = newCompareFilter(TupleFilter.FilterOperatorEnum.ISNOTNULL, externalCol); code = translate(col, firstValue, 0); if (code == null) { code = translate(col, firstValue, -1); if (code == null) result = newCompareFilter(TupleFilter.FilterOperatorEnum.ISNOTNULL, externalCol); code = translate(col, firstValue, -1); if (code == null) { result = ConstantTupleFilter.FALSE; code = translate(col, firstValue, 0); if (code == null) { code = translate(col, firstValue, 1);