org.apache.pig.impl.eval.window
Class TupleWindowSpec

java.lang.Object
  extended by org.apache.pig.impl.eval.EvalSpec
      extended by org.apache.pig.impl.eval.window.WindowSpec
          extended by org.apache.pig.impl.eval.window.TupleWindowSpec
All Implemented Interfaces:
Serializable

public class TupleWindowSpec
extends WindowSpec

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pig.impl.eval.window.WindowSpec
WindowSpec.windowType
 
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.window.WindowSpec
type
 
Fields inherited from class org.apache.pig.impl.eval.EvalSpec
inner, properties
 
Constructor Summary
TupleWindowSpec(WindowSpec.windowType type, int numTuples)
           
 
Method Summary
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
 String toString()
           
 void visit(EvalSpecVisitor v)
           
 
Methods inherited from class org.apache.pig.impl.eval.window.WindowSpec
getFuncs, mapInputSchema
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TupleWindowSpec

public TupleWindowSpec(WindowSpec.windowType type,
                       int numTuples)
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

toString

public String toString()
Overrides:
toString in class Object

visit

public void visit(EvalSpecVisitor v)
Specified by:
visit in class EvalSpec


Copyright © ${year} The Apache Software Foundation