org.apache.hadoop.hive.ql.udf.ptf
Class WindowingTableFunction.DoubleValueBoundaryScanner

java.lang.Object
  extended by org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.DoubleValueBoundaryScanner
Enclosing class:
WindowingTableFunction

public static class WindowingTableFunction.DoubleValueBoundaryScanner
extends Object


Constructor Summary
WindowingTableFunction.DoubleValueBoundaryScanner(BoundaryDef bndDef, PTFInvocationSpec.Order order, PTFExpressionDef expressionDef)
           
 
Method Summary
 Object computeValue(Object row)
           
static org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.ValueBoundaryScanner getScanner(ValueBoundaryDef vbDef, PTFInvocationSpec.Order order)
           
 boolean isEqual(Object v1, Object v2)
           
 boolean isGreater(Object v1, Object v2, int amt)
           
 void reset(BoundaryDef bndDef)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowingTableFunction.DoubleValueBoundaryScanner

public WindowingTableFunction.DoubleValueBoundaryScanner(BoundaryDef bndDef,
                                                         PTFInvocationSpec.Order order,
                                                         PTFExpressionDef expressionDef)
Method Detail

isGreater

public boolean isGreater(Object v1,
                         Object v2,
                         int amt)

isEqual

public boolean isEqual(Object v1,
                       Object v2)

reset

public void reset(BoundaryDef bndDef)

computeValue

public Object computeValue(Object row)
                    throws HiveException
Throws:
HiveException

getScanner

public static org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.ValueBoundaryScanner getScanner(ValueBoundaryDef vbDef,
                                                                                                       PTFInvocationSpec.Order order)
                                                                                                throws HiveException
Throws:
HiveException


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