org.apache.hadoop.hive.ql.parse
Class WindowingSpec

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.WindowingSpec

public class WindowingSpec
extends Object


Nested Class Summary
static class WindowingSpec.BoundarySpec
           
static class WindowingSpec.CurrentRowSpec
           
static class WindowingSpec.Direction
           
static class WindowingSpec.RangeBoundarySpec
           
static class WindowingSpec.ValueBoundarySpec
           
static class WindowingSpec.WindowExpressionSpec
           
static class WindowingSpec.WindowFrameSpec
           
static class WindowingSpec.WindowFunctionSpec
           
static class WindowingSpec.WindowSpec
           
 
Constructor Summary
WindowingSpec()
           
 
Method Summary
 void addWindowFunction(WindowingSpec.WindowFunctionSpec wFn)
           
 void addWindowSpec(String name, WindowingSpec.WindowSpec wdwSpec)
           
 HashMap<String,WindowingSpec.WindowExpressionSpec> getAliasToWdwExpr()
           
 PTFInvocationSpec.OrderSpec getQueryOrderSpec()
           
 PTFInvocationSpec.PartitioningSpec getQueryPartitioningSpec()
           
 PTFInvocationSpec.PartitionSpec getQueryPartitionSpec()
           
 ArrayList<WindowingSpec.WindowExpressionSpec> getWindowExpressions()
           
 HashMap<String,WindowingSpec.WindowSpec> getWindowSpecs()
           
 void setAliasToWdwExpr(HashMap<String,WindowingSpec.WindowExpressionSpec> aliasToWdwExpr)
           
 void setWindowExpressions(ArrayList<WindowingSpec.WindowExpressionSpec> windowExpressions)
           
 void setWindowSpecs(HashMap<String,WindowingSpec.WindowSpec> windowSpecs)
           
 void validateAndMakeEffective()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowingSpec

public WindowingSpec()
Method Detail

addWindowSpec

public void addWindowSpec(String name,
                          WindowingSpec.WindowSpec wdwSpec)

addWindowFunction

public void addWindowFunction(WindowingSpec.WindowFunctionSpec wFn)

getAliasToWdwExpr

public HashMap<String,WindowingSpec.WindowExpressionSpec> getAliasToWdwExpr()

setAliasToWdwExpr

public void setAliasToWdwExpr(HashMap<String,WindowingSpec.WindowExpressionSpec> aliasToWdwExpr)

getWindowSpecs

public HashMap<String,WindowingSpec.WindowSpec> getWindowSpecs()

setWindowSpecs

public void setWindowSpecs(HashMap<String,WindowingSpec.WindowSpec> windowSpecs)

getWindowExpressions

public ArrayList<WindowingSpec.WindowExpressionSpec> getWindowExpressions()

setWindowExpressions

public void setWindowExpressions(ArrayList<WindowingSpec.WindowExpressionSpec> windowExpressions)

getQueryPartitioningSpec

public PTFInvocationSpec.PartitioningSpec getQueryPartitioningSpec()

getQueryPartitionSpec

public PTFInvocationSpec.PartitionSpec getQueryPartitionSpec()

getQueryOrderSpec

public PTFInvocationSpec.OrderSpec getQueryOrderSpec()

validateAndMakeEffective

public void validateAndMakeEffective()
                              throws SemanticException
Throws:
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.