Package org.apache.pig.newplan.logical.relational

Examples of org.apache.pig.newplan.logical.relational.LogicalPlan.replace()


                ops.add((LogicalRelationalOperator) it.next());
            }
            for (LogicalRelationalOperator op : ops) {
                if (op instanceof LOStore) {
                    FuncSpec funcSpec = ((LOStore) op).getOutputSpec().getFuncSpec();
                    instrumentedQueryPlan.replace(op, new LOStore(instrumentedQueryPlan, new FileSpec(getTempFilename(), funcSpec)));
                }
            }
        }
       
        return instrumentedQueryPlan;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.