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

java.lang.Object
  extended by org.apache.pig.impl.plan.PlanValidator<LogicalOperator,LogicalPlan>
      extended by org.apache.pig.impl.logicalLayer.validators.TypeCheckingValidator

public class TypeCheckingValidator
extends PlanValidator<LogicalOperator,LogicalPlan>


Constructor Summary
TypeCheckingValidator()
           
 
Method Summary
 void validate(LogicalPlan plan, CompilationMessageCollector msgCollector)
          If there are errors during validation, all of the errors have to be collected in the supplied messageCollector.
 
Methods inherited from class org.apache.pig.impl.plan.PlanValidator
validate, validateSkipCollectException, validateTolerateException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeCheckingValidator

public TypeCheckingValidator()
Method Detail

validate

public void validate(LogicalPlan plan,
                     CompilationMessageCollector msgCollector)
              throws PlanValidationException
Description copied from class: PlanValidator
If there are errors during validation, all of the errors have to be collected in the supplied messageCollector. The exception should be thrown only when the validation logic finds something too bad that other validation logics should not try to do more work.

Specified by:
validate in class PlanValidator<LogicalOperator,LogicalPlan>
Throws:
PlanValidationException


Copyright © ${year} The Apache Software Foundation