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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.WindowingSpec.BoundarySpec
      extended by org.apache.hadoop.hive.ql.parse.WindowingSpec.ValueBoundarySpec
All Implemented Interfaces:
Comparable<WindowingSpec.BoundarySpec>
Enclosing class:
WindowingSpec

public static class WindowingSpec.ValueBoundarySpec
extends WindowingSpec.BoundarySpec


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.WindowingSpec.BoundarySpec
UNBOUNDED_AMOUNT
 
Constructor Summary
WindowingSpec.ValueBoundarySpec()
           
WindowingSpec.ValueBoundarySpec(WindowingSpec.Direction direction, int amt)
           
 
Method Summary
 int compareTo(WindowingSpec.BoundarySpec other)
           
 int getAmt()
           
 WindowingSpec.Direction getDirection()
           
 ASTNode getExpression()
           
 void setAmt(int amt)
           
 void setDirection(WindowingSpec.Direction direction)
           
 void setExpression(ASTNode expression)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowingSpec.ValueBoundarySpec

public WindowingSpec.ValueBoundarySpec()

WindowingSpec.ValueBoundarySpec

public WindowingSpec.ValueBoundarySpec(WindowingSpec.Direction direction,
                                       int amt)
Method Detail

getDirection

public WindowingSpec.Direction getDirection()
Specified by:
getDirection in class WindowingSpec.BoundarySpec

setDirection

public void setDirection(WindowingSpec.Direction direction)
Specified by:
setDirection in class WindowingSpec.BoundarySpec

getExpression

public ASTNode getExpression()

setExpression

public void setExpression(ASTNode expression)

getAmt

public int getAmt()
Specified by:
getAmt in class WindowingSpec.BoundarySpec

setAmt

public void setAmt(int amt)
Specified by:
setAmt in class WindowingSpec.BoundarySpec

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(WindowingSpec.BoundarySpec other)


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