public CorrelatePlan(QueryPlan lhs, QueryPlan rhs, String variableId, JoinType joinType, boolean isSingleValueOnly, RuntimeContext runtimeContext, PTable joinedTable, PTable lhsTable, PTable rhsTable, int rhsFieldPosition) { super(lhs); if (joinType != JoinType.Inner && joinType != JoinType.Left && joinType != JoinType.Semi && joinType != JoinType.Anti) throw new IllegalArgumentException("Unsupported join type '" + joinType + "' by CorrelatePlan"); this.rhs = rhs; this.variableId = variableId; this.joinType = joinType; this.isSingleValueOnly = isSingleValueOnly; this.runtimeContext = runtimeContext; this.joinedSchema = buildSchema(joinedTable); this.lhsSchema = buildSchema(lhsTable); this.rhsSchema = buildSchema(rhsTable); this.rhsFieldPosition = rhsFieldPosition; }
public CorrelatePlan(QueryPlan lhs, QueryPlan rhs, String variableId, JoinType joinType, boolean isSingleValueOnly, RuntimeContext runtimeContext, PTable joinedTable, PTable lhsTable, PTable rhsTable, int rhsFieldPosition) { super(lhs); if (joinType != JoinType.Inner && joinType != JoinType.Left && joinType != JoinType.Semi && joinType != JoinType.Anti) throw new IllegalArgumentException("Unsupported join type '" + joinType + "' by CorrelatePlan"); this.rhs = rhs; this.variableId = variableId; this.joinType = joinType; this.isSingleValueOnly = isSingleValueOnly; this.runtimeContext = runtimeContext; this.joinedSchema = buildSchema(joinedTable); this.lhsSchema = buildSchema(lhsTable); this.rhsSchema = buildSchema(rhsTable); this.rhsFieldPosition = rhsFieldPosition; }
public CorrelatePlan(QueryPlan lhs, QueryPlan rhs, String variableId, JoinType joinType, boolean isSingleValueOnly, RuntimeContext runtimeContext, PTable joinedTable, PTable lhsTable, PTable rhsTable, int rhsFieldPosition) { super(lhs); if (joinType != JoinType.Inner && joinType != JoinType.Left && joinType != JoinType.Semi && joinType != JoinType.Anti) throw new IllegalArgumentException("Unsupported join type '" + joinType + "' by CorrelatePlan"); this.rhs = rhs; this.variableId = variableId; this.joinType = joinType; this.isSingleValueOnly = isSingleValueOnly; this.runtimeContext = runtimeContext; this.joinedSchema = buildSchema(joinedTable); this.lhsSchema = buildSchema(lhsTable); this.rhsSchema = buildSchema(rhsTable); this.rhsFieldPosition = rhsFieldPosition; }