public abstract class JrubyAlgebraicEvalFunc<T> extends AlgebraicEvalFunc<T>
Modifier and Type | Class and Description |
---|---|
static class |
JrubyAlgebraicEvalFunc.AlgebraicFunctionWrapper<T>
This is a lightweight wrapper shell that registers information on the method being called,
and provides the initializer that the static Algebraic classes (Initial, Intermed, Final)
will use to execute.
|
static class |
JrubyAlgebraicEvalFunc.BagJrubyAlgebraicEvalFunc
Unlike EvalFuncs and Accumulators, the type must be known at compile time (ie it
can't return Object), as Pig inspects the type and ensures that it is valid.
|
static class |
JrubyAlgebraicEvalFunc.ChararrayJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.DataByteArrayJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.DoubleJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.Final<T>
This class invokes the final method on the given Ruby class.
|
static class |
JrubyAlgebraicEvalFunc.FloatJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.Initial
This class invokes the initial method on the given Ruby class.
|
static class |
JrubyAlgebraicEvalFunc.IntegerJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.Intermed
This class invokes the intermed method on the given Ruby class.
|
static class |
JrubyAlgebraicEvalFunc.LongJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.MapJrubyAlgebraicEvalFunc |
static class |
JrubyAlgebraicEvalFunc.TupleJrubyAlgebraicEvalFunc |
EvalFunc.SchemaType
Modifier and Type | Field and Description |
---|---|
protected static BagFactory |
mBagFactory |
protected static TupleFactory |
mTupleFactory |
protected static org.jruby.Ruby |
ruby |
protected static org.jruby.embed.ScriptingContainer |
rubyEngine |
log, pigLogger, reporter, returnType
Constructor and Description |
---|
JrubyAlgebraicEvalFunc(java.lang.String fileName,
java.lang.String functionName)
The constructor takes information on the script and method being invoked and registers it with the
superclass (which is necessary for AlgebraicEvalFunc).
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getFinal()
This must be implement as per a normal Algebraic interface.
|
java.lang.String |
getInitial()
This must be implement as per a normal Algebraic interface.
|
java.lang.String |
getIntermed()
This must be implement as per a normal Algebraic interface.
|
accumulate, cleanup, getValue
exec
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
protected static BagFactory mBagFactory
protected static final TupleFactory mTupleFactory
protected static final org.jruby.embed.ScriptingContainer rubyEngine
protected static final org.jruby.Ruby ruby
public JrubyAlgebraicEvalFunc(java.lang.String fileName, java.lang.String functionName)
public abstract java.lang.String getFinal()
AlgebraicEvalFunc
Algebraic
for
more information.getFinal
in interface Algebraic
getFinal
in class AlgebraicEvalFunc<T>
public java.lang.String getInitial()
AlgebraicEvalFunc
Algebraic
for
more information.getInitial
in interface Algebraic
getInitial
in class AlgebraicEvalFunc<T>
public java.lang.String getIntermed()
AlgebraicEvalFunc
Algebraic
for
more information.getIntermed
in interface Algebraic
getIntermed
in class AlgebraicEvalFunc<T>
Copyright © 2007-2017 The Apache Software Foundation