org.apache.hadoop.hive.ql.udf.ptf
Class WindowingTableFunction.StringValueBoundaryScanner
java.lang.Object
org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.StringValueBoundaryScanner
- Enclosing class:
- WindowingTableFunction
public static class WindowingTableFunction.StringValueBoundaryScanner
- extends Object
Method Summary |
protected int |
computeEnd(int rowIdx,
PTFPartition p)
|
protected int |
computeEndCurrentRow(int rowIdx,
PTFPartition p)
|
protected int |
computeEndFollowing(int rowIdx,
PTFPartition p)
|
protected int |
computeEndPreceding(int rowIdx,
PTFPartition p)
|
protected int |
computeStart(int rowIdx,
PTFPartition p)
|
protected int |
computeStartCurrentRow(int rowIdx,
PTFPartition p)
|
protected int |
computeStartFollowing(int rowIdx,
PTFPartition p)
|
protected int |
computeStartPreceding(int rowIdx,
PTFPartition p)
|
Object |
computeValue(Object row)
|
static org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.ValueBoundaryScanner |
getScanner(PTFDesc.ValueBoundaryDef vbDef,
PTFInvocationSpec.Order order)
|
boolean |
isEqual(Object v1,
Object v2)
|
boolean |
isGreater(Object v1,
Object v2,
int amt)
|
void |
reset(PTFDesc.BoundaryDef bndDef)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowingTableFunction.StringValueBoundaryScanner
public WindowingTableFunction.StringValueBoundaryScanner(PTFDesc.BoundaryDef bndDef,
PTFInvocationSpec.Order order,
PTFDesc.PTFExpressionDef expressionDef)
isGreater
public boolean isGreater(Object v1,
Object v2,
int amt)
isEqual
public boolean isEqual(Object v1,
Object v2)
reset
public void reset(PTFDesc.BoundaryDef bndDef)
computeStart
protected int computeStart(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeStartPreceding
protected int computeStartPreceding(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeStartCurrentRow
protected int computeStartCurrentRow(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeStartFollowing
protected int computeStartFollowing(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeEnd
protected int computeEnd(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeEndPreceding
protected int computeEndPreceding(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeEndCurrentRow
protected int computeEndCurrentRow(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeEndFollowing
protected int computeEndFollowing(int rowIdx,
PTFPartition p)
throws HiveException
- Throws:
HiveException
computeValue
public Object computeValue(Object row)
throws HiveException
- Throws:
HiveException
getScanner
public static org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.ValueBoundaryScanner getScanner(PTFDesc.ValueBoundaryDef vbDef,
PTFInvocationSpec.Order order)
throws HiveException
- Throws:
HiveException
Copyright © 2012 The Apache Software Foundation