org.apache.pig.impl.eval
Class SimpleEvalSpec

java.lang.Object
  extended by org.apache.pig.impl.eval.EvalSpec
      extended by org.apache.pig.impl.eval.SimpleEvalSpec
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstSpec, MapLookupSpec, ProjectSpec

public abstract class SimpleEvalSpec
extends EvalSpec

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.impl.eval.EvalSpec
EvalSpec.UserComparator
 
Field Summary
 
Fields inherited from class org.apache.pig.impl.eval.EvalSpec
inner, properties
 
Constructor Summary
SimpleEvalSpec()
           
 
Method Summary
protected abstract  Datum eval(Datum d)
           
protected  DataCollector setupDefaultPipe(Properties properties, DataCollector endOfPipe)
          set up a default data processing pipe for processing by this spec This pipe does not include unflattening/flattening at the end
 
Methods inherited from class org.apache.pig.impl.eval.EvalSpec
addSpec, copy, finish, getCombiner, getComparator, getComparatorName, getFuncs, getLineage, getOutputSchemaForPipe, getProperties, instantiateFunc, isAsynchronous, isFlattened, isInner, mapInputSchema, setComparatorName, setFlatten, setInner, setLineageTracer, setSchema, setupPipe, simpleEval, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEvalSpec

public SimpleEvalSpec()
Method Detail

setupDefaultPipe

protected DataCollector setupDefaultPipe(Properties properties,
                                         DataCollector endOfPipe)
Description copied from class: EvalSpec
set up a default data processing pipe for processing by this spec This pipe does not include unflattening/flattening at the end

Specified by:
setupDefaultPipe in class EvalSpec
Parameters:
properties - properties for the pipe
endOfPipe - The collector where output is desired
Returns:
The collector where input tuples should be put

eval

protected abstract Datum eval(Datum d)


Copyright © ${year} The Apache Software Foundation