public static class WindowingTableFunction.LongValueBoundaryScanner extends Object
| Constructor and Description |
|---|
WindowingTableFunction.LongValueBoundaryScanner(BoundaryDef bndDef,
PTFInvocationSpec.Order order,
PTFExpressionDef expressionDef) |
| Modifier and Type | Method and Description |
|---|---|
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(ValueBoundaryDef vbDef,
PTFInvocationSpec.Order order) |
boolean |
isEqual(Object v1,
Object v2) |
boolean |
isGreater(Object v1,
Object v2,
int amt) |
void |
reset(BoundaryDef bndDef) |
public WindowingTableFunction.LongValueBoundaryScanner(BoundaryDef bndDef, PTFInvocationSpec.Order order, PTFExpressionDef expressionDef)
public void reset(BoundaryDef bndDef)
protected int computeStart(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeStartPreceding(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeStartCurrentRow(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeStartFollowing(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeEnd(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeEndPreceding(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeEndCurrentRow(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionprotected int computeEndFollowing(int rowIdx,
PTFPartition p)
throws HiveException
HiveExceptionpublic Object computeValue(Object row) throws HiveException
HiveExceptionpublic static org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.ValueBoundaryScanner getScanner(ValueBoundaryDef vbDef, PTFInvocationSpec.Order order) throws HiveException
HiveExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.