/** * @see org.teiid.query.processor.relational.JoinStrategy#clone() */ @Override public MergeJoinStrategy clone() { return new MergeJoinStrategy(sortLeft, sortRight, grouping); }
/** * @see org.teiid.query.processor.relational.JoinStrategy#clone() */ @Override public MergeJoinStrategy clone() { return new MergeJoinStrategy(sortLeft, sortRight, grouping).singleMatch(singleMatch); }
/** * @see org.teiid.query.processor.relational.JoinStrategy#clone() */ @Override public MergeJoinStrategy clone() { return new MergeJoinStrategy(sortLeft, sortRight, grouping).singleMatch(singleMatch); }
}; helpCreateJoin(); this.joinStrategy = new MergeJoinStrategy(SortOption.SORT, SortOption.ALREADY_SORTED, false); BlockingFakeRelationalNode newNode = new BlockingFakeRelationalNode(2, rightTuples) { @Override
joinStrategy = new MergeJoinStrategy(SortOption.SORT_DISTINCT, SortOption.SORT_DISTINCT, false);
joinStrategy = new MergeJoinStrategy(SortOption.SORT, SortOption.SORT, false); join.setJoinStrategy(joinStrategy); break;
mjStrategy = esmjStrategy; } else { mjStrategy = new MergeJoinStrategy(leftSort, (SortOption)node.getProperty(NodeConstants.Info.SORT_RIGHT), false); joinAsSet.setJoinStrategy(new MergeJoinStrategy(SortOption.SORT_DISTINCT, SortOption.SORT_DISTINCT, true));
mjStrategy = esmjStrategy; } else { mjStrategy = new MergeJoinStrategy(leftSort, (SortOption)node.getProperty(NodeConstants.Info.SORT_RIGHT), false); joinAsSet.setJoinStrategy(new MergeJoinStrategy(SortOption.SORT_DISTINCT, SortOption.SORT_DISTINCT, true));
mjStrategy = esmjStrategy; } else { mjStrategy = new MergeJoinStrategy(leftSort, (SortOption)node.getProperty(NodeConstants.Info.SORT_RIGHT), false); joinAsSet.setJoinStrategy(new MergeJoinStrategy(SortOption.SORT_DISTINCT, SortOption.SORT_DISTINCT, true));