org.apache.pig.impl.logicalLayer.validators
Class InputOutputFileVisitor

java.lang.Object
  extended by org.apache.pig.impl.plan.PlanVisitor<LogicalOperator,LogicalPlan>
      extended by org.apache.pig.impl.logicalLayer.LOVisitor
          extended by org.apache.pig.impl.logicalLayer.validators.InputOutputFileVisitor

public class InputOutputFileVisitor
extends LOVisitor

Visitor for checking input/output files Exceptions in here do not affect later operations so we don't throw any exception but log all of them in msgCollector. We assume input/output files can exist only in the top level plan.


Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.PlanVisitor
mCurrentWalker, mPlan
 
Constructor Summary
InputOutputFileVisitor(LogicalPlan plan, CompilationMessageCollector messageCollector, PigContext pigContext)
           
 
Method Summary
protected  void visit(LOStore store)
          The logic here is to delegate the validation of output specification to output format implementation.
 
Methods inherited from class org.apache.pig.impl.logicalLayer.LOVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.apache.pig.impl.plan.PlanVisitor
getPlan, popWalker, pushWalker, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputOutputFileVisitor

public InputOutputFileVisitor(LogicalPlan plan,
                              CompilationMessageCollector messageCollector,
                              PigContext pigContext)
Method Detail

visit

protected void visit(LOStore store)
              throws PlanValidationException
The logic here is to delegate the validation of output specification to output format implementation.

Overrides:
visit in class LOVisitor
Throws:
PlanValidationException


Copyright © ${year} The Apache Software Foundation