/* */ Iterator iter;
/* 841 */ if (!this.ctermJoinPaths.isEmpty())
/* */ {
/* 843 */ for (iter = this.ctermJoinPaths.iterator(); iter.hasNext(); )
/* */ {
/* 845 */ ASTPath path = (ASTPath)iter.next();
/* 846 */ for (int i = 0; i < path.size(); i++)
/* */ {
/* 848 */ createThetaJoin(path, i, joinedAliases, buf);
/* */ }
/* */ }
/* */ }
/* */ Iterator iter;
/* 854 */ if (!this.ctermCollectionMemberJoinPaths.isEmpty())
/* */ {
/* 856 */ for (iter = this.ctermCollectionMemberJoinPaths.entrySet().iterator(); iter.hasNext(); )
/* */ {
/* 858 */ Map.Entry entry = (Map.Entry)iter.next();
/* 859 */ String childAlias = (String)entry.getKey();
/* 860 */ ASTPath path = (ASTPath)entry.getValue();
/* */
/* 863 */ createThetaJoin(path, path.size() - 1, joinedAliases, childAlias, buf);
/* */
/* 866 */ for (int i = 0; i < path.size() - 1; i++)
/* */ {
/* 868 */ createThetaJoin(path, i, joinedAliases, buf);
/* */ }
/* */ }
/* */ }
/* */ Iterator iter;
/* 874 */ if (!this.ctermLeftJoinPaths.isEmpty())
/* */ {
/* 876 */ Set allLeftJoins = new HashSet();
/* 877 */ for (Iterator iter = this.ctermLeftJoinPaths.values().iterator(); iter.hasNext(); )
/* */ {
/* 879 */ allLeftJoins.addAll((Set)iter.next());
/* */ }
/* */
/* 883 */ for (iter = allLeftJoins.iterator(); iter.hasNext(); )
/* */ {
/* 885 */ ASTPath path = (ASTPath)iter.next();
/* */
/* 887 */ for (int i = 0; i < path.size() - 1; i++)
/* */ {
/* 889 */ createThetaJoin(path, i, joinedAliases, buf);
/* */ }
/* */ }
/* */ }