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

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

public abstract class WindowSpec
extends EvalSpec

See Also:
Serialized Form

Nested Class Summary
static class WindowSpec.windowType
           
 
Nested classes/interfaces inherited from class org.apache.pig.impl.eval.EvalSpec
EvalSpec.UserComparator
 
Field Summary
protected  WindowSpec.windowType type
           
 
Fields inherited from class org.apache.pig.impl.eval.EvalSpec
inner, properties
 
Constructor Summary
WindowSpec(WindowSpec.windowType type)
           
 
Method Summary
 List<String> getFuncs()
          Get the functions required by this spec
protected  Schema mapInputSchema(Schema input)
          Given an input schema, determine the output schema of this spec as it operates on input tuples with the input schema.
 
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, setupDefaultPipe, setupPipe, simpleEval, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected WindowSpec.windowType type
Constructor Detail

WindowSpec

public WindowSpec(WindowSpec.windowType type)
Method Detail

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 input)
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:


Copyright © ${year} The Apache Software Foundation