private CompareTupleFilter(CompareTupleFilter another) { super(new ArrayList<TupleFilter>(another.children), another.operator); this.column = another.column; this.firstCondValue = another.getFirstValue(); this.function = another.getFunction(); this.conditionValues = new HashSet<Object>(); this.conditionValues.addAll(another.conditionValues); this.dynamicVariables = new HashMap<String, Object>(); this.dynamicVariables.putAll(another.dynamicVariables); }
@SuppressWarnings({ "unchecked", "rawtypes" }) private TupleFilter translateCompareTupleFilter(CompareTupleFilter compTupleFilter) { if (compTupleFilter.getFunction() == null || (!(compTupleFilter.getFunction() instanceof BuiltInFunctionTupleFilter))) return null; BuiltInFunctionTupleFilter builtInFunctionTupleFilter = (BuiltInFunctionTupleFilter) compTupleFilter.getFunction();
private CompareTupleFilter(CompareTupleFilter another) { super(new ArrayList<TupleFilter>(another.children), another.operator); this.column = another.column; this.firstCondValue = another.getFirstValue(); this.function = another.getFunction(); this.conditionValues = new HashSet<Object>(); this.conditionValues.addAll(another.conditionValues); this.dynamicVariables = new HashMap<String, Object>(); this.dynamicVariables.putAll(another.dynamicVariables); }
@SuppressWarnings({ "unchecked", "rawtypes" }) private TupleFilter translateCompareTupleFilter(CompareTupleFilter compTupleFilter) { if (compTupleFilter.getFunction() == null || (!(compTupleFilter.getFunction() instanceof BuiltInFunctionTupleFilter))) return null; BuiltInFunctionTupleFilter builtInFunctionTupleFilter = (BuiltInFunctionTupleFilter) compTupleFilter.getFunction();