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(String fileName,
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 String |
getFinal()
This must be implement as per a normal Algebraic interface.
|
String |
getInitial()
This must be implement as per a normal Algebraic interface.
|
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 abstract String getFinal()
AlgebraicEvalFunc
Algebraic
for
more information.getFinal
in interface Algebraic
getFinal
in class AlgebraicEvalFunc<T>
public String getInitial()
AlgebraicEvalFunc
Algebraic
for
more information.getInitial
in interface Algebraic
getInitial
in class AlgebraicEvalFunc<T>
public String getIntermed()
AlgebraicEvalFunc
Algebraic
for
more information.getIntermed
in interface Algebraic
getIntermed
in class AlgebraicEvalFunc<T>
Copyright © 2007-2017 The Apache Software Foundation