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

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

public class RegexpCond
extends Cond

See Also:
Serialized Form

Field Summary
 EvalSpec left
           
 String re
           
 
Constructor Summary
RegexpCond(EvalSpec left, String re)
           
 
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

left

public EvalSpec left

re

public String re
Constructor Detail

RegexpCond

public RegexpCond(EvalSpec left,
                  String re)
           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