org.apache.pig.impl.eval
Class MapLookupSpec
java.lang.Object
org.apache.pig.impl.eval.EvalSpec
org.apache.pig.impl.eval.SimpleEvalSpec
org.apache.pig.impl.eval.MapLookupSpec
- All Implemented Interfaces:
- Serializable
public class MapLookupSpec
- extends SimpleEvalSpec
- See Also:
- Serialized Form
Methods inherited from class org.apache.pig.impl.eval.EvalSpec |
addSpec, copy, finish, getCombiner, getComparator, getComparatorName, getLineage, getOutputSchemaForPipe, getProperties, instantiateFunc, isAsynchronous, isFlattened, isInner, setComparatorName, setFlatten, setInner, setLineageTracer, setSchema, setupPipe, simpleEval |
keyToLookup
protected String keyToLookup
MapLookupSpec
public MapLookupSpec(String keyToLookup)
eval
protected Datum eval(Datum d)
- Specified by:
eval
in class SimpleEvalSpec
getFuncs
public List<String> getFuncs()
- Description copied from class:
EvalSpec
- Get the functions required by this spec
- Specified by:
getFuncs
in class EvalSpec
- Returns:
mapInputSchema
protected Schema mapInputSchema(Schema schema)
- Description copied from class:
EvalSpec
- Given an input schema, determine the output schema of this spec
as it operates on input tuples with the input schema.
- Specified by:
mapInputSchema
in class EvalSpec
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
visit
public void visit(EvalSpecVisitor v)
- Specified by:
visit
in class EvalSpec
key
public String key()
Copyright © ${year} The Apache Software Foundation