org.apache.pig.impl.eval.cond
Class CompCond

java.lang.Object
  extended by org.apache.pig.impl.eval.cond.Cond
      extended by org.apache.pig.impl.eval.cond.CompCond
All Implemented Interfaces:
Serializable

public class CompCond
extends Cond

See Also:
Serialized Form

Field Summary
 EvalSpec left
           
 String op
           
 EvalSpec right
           
 
Constructor Summary
CompCond(EvalSpec left, String op, EvalSpec right)
           
 
Method Summary
 boolean eval(Datum input)
           
 void finish()
           
 List<String> getFuncs()
           
 void instantiateFunc(FunctionInstantiator instantiaor)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

op

public String op

left

public EvalSpec left

right

public EvalSpec right
Constructor Detail

CompCond

public CompCond(EvalSpec left,
                String op,
                EvalSpec right)
         throws IOException
Throws:
IOException
Method Detail

getFuncs

public List<String> getFuncs()
Specified by:
getFuncs in class Cond

eval

public boolean eval(Datum input)
Specified by:
eval in class Cond

toString

public String toString()
Overrides:
toString in class Object

finish

public void finish()
Specified by:
finish in class Cond

instantiateFunc

public void instantiateFunc(FunctionInstantiator instantiaor)
                     throws IOException
Specified by:
instantiateFunc in class Cond
Throws:
IOException


Copyright © ${year} The Apache Software Foundation