org.apache.pig.scripting.jruby
Class JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc

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.jruby.JrubyAlgebraicEvalFunc<Integer>
                  extended by org.apache.pig.scripting.jruby.JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc
All Implemented Interfaces:
Accumulator<Integer>, Algebraic
Enclosing class:
JrubyAlgebraicEvalFunc<T>

public static class JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc
extends JrubyAlgebraicEvalFunc<Integer>


Nested Class Summary
static class JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc.Final
           
 
Nested classes/interfaces inherited from class org.apache.pig.scripting.jruby.JrubyAlgebraicEvalFunc
JrubyAlgebraicEvalFunc.AlgebraicFunctionWrapper<T>, JrubyAlgebraicEvalFunc.BagJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.ChararrayJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.DataByteArrayJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.DoubleJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.FloatJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.Initial, JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.Intermed, JrubyAlgebraicEvalFunc.LongJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.MapJrubyAlgebraicEvalFunc, JrubyAlgebraicEvalFunc.TupleJrubyAlgebraicEvalFunc
 
Field Summary
 
Fields inherited from class org.apache.pig.scripting.jruby.JrubyAlgebraicEvalFunc
mBagFactory, mTupleFactory, ruby, rubyEngine
 
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
 
Constructor Summary
JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc(String fileName, String functionName)
           
 
Method Summary
 String getFinal()
          This must be implement as per a normal Algebraic interface.
 
Methods inherited from class org.apache.pig.scripting.jruby.JrubyAlgebraicEvalFunc
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, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, isAsynchronous, outputSchema, progress, setPigLogger, setReporter, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc

public JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc(String fileName,
                                                            String functionName)
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 JrubyAlgebraicEvalFunc<Integer>
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