org.apache.pig.scripting.groovy
Class GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc

java.lang.Object
  extended by org.apache.pig.EvalFunc<T>
      extended by org.apache.pig.AccumulatorEvalFunc<T>
          extended by org.apache.pig.AlgebraicEvalFunc<T>
              extended by org.apache.pig.scripting.groovy.GroovyAlgebraicEvalFunc<String>
                  extended by org.apache.pig.scripting.groovy.GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc
All Implemented Interfaces:
Accumulator<String>, Algebraic
Enclosing class:
GroovyAlgebraicEvalFunc<T>

public static class GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc
extends GroovyAlgebraicEvalFunc<String>


Nested Class Summary
static class GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc.Final
           
 
Nested classes/interfaces inherited from class org.apache.pig.scripting.groovy.GroovyAlgebraicEvalFunc
GroovyAlgebraicEvalFunc.AlgebraicFunctionWrapper<T>, GroovyAlgebraicEvalFunc.BigDecimalGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.BigIntegerGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.BooleanGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.DataBagGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.DataByteArrayGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.DateTimeGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.DoubleGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.FloatGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.Initial, GroovyAlgebraicEvalFunc.IntegerGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.Intermed, GroovyAlgebraicEvalFunc.LongGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.MapGroovyAlgebraicEvalFunc, GroovyAlgebraicEvalFunc.TupleGroovyAlgebraicEvalFunc
 
Nested classes/interfaces inherited from class org.apache.pig.EvalFunc
EvalFunc.SchemaType
 
Field Summary
 
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
 
Constructor Summary
GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc(String path, String namespace, String methodName, String initialMethod, String intermedMethod, String finalMethod)
           
 
Method Summary
 String getFinal()
          This must be implement as per a normal Algebraic interface.
 
Methods inherited from class org.apache.pig.scripting.groovy.GroovyAlgebraicEvalFunc
getInitial, getIntermed
 
Methods inherited from class org.apache.pig.AlgebraicEvalFunc
accumulate, cleanup, getValue
 
Methods inherited from class org.apache.pig.AccumulatorEvalFunc
exec
 
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, isAsynchronous, outputSchema, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc

public GroovyAlgebraicEvalFunc.ChararrayGroovyAlgebraicEvalFunc(String path,
                                                                String namespace,
                                                                String methodName,
                                                                String initialMethod,
                                                                String intermedMethod,
                                                                String finalMethod)
                                                         throws IOException
Throws:
IOException
Method Detail

getFinal

public String getFinal()
Description copied from class: AlgebraicEvalFunc
This must be implement as per a normal Algebraic interface. See Algebraic for more information.

Specified by:
getFinal in interface Algebraic
Specified by:
getFinal in class GroovyAlgebraicEvalFunc<String>
Returns:
A function name of f_final. f_final should be an eval func parametrized by the same datum as the eval func implementing this interface.


Copyright © 2007-2012 The Apache Software Foundation