public class PTFRollingPartition extends PTFPartition
PTFPartition.PTFPartitionIterator<T>LOG| Modifier | Constructor and Description |
|---|---|
protected |
PTFRollingPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
int precedingSpan,
int succeedingSpan) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Object o) |
void |
close() |
Object |
getAt(int i) |
PTFPartition.PTFPartitionIterator<Object> |
iterator() |
Object |
nextOutputRow() |
boolean |
processedAllRows() |
void |
reset() |
int |
rowToProcess(WindowFunctionDef wFn) |
int |
size() |
create, createRolling, getInputOI, getOutputOI, getSerDe, range, setupPartitionOutputOIprotected PTFRollingPartition(org.apache.hadoop.conf.Configuration cfg,
SerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI,
int precedingSpan,
int succeedingSpan)
throws HiveException
HiveExceptionpublic void reset()
throws HiveException
reset in class PTFPartitionHiveExceptionpublic Object getAt(int i) throws HiveException
getAt in class PTFPartitionHiveExceptionpublic void append(Object o) throws HiveException
append in class PTFPartitionHiveExceptionpublic Object nextOutputRow() throws HiveException
HiveExceptionpublic boolean processedAllRows()
public int rowToProcess(WindowFunctionDef wFn)
public int size()
size in class PTFPartitionpublic PTFPartition.PTFPartitionIterator<Object> iterator() throws HiveException
iterator in class PTFPartitionHiveExceptionpublic void close()
close in class PTFPartitionCopyright © 2017 The Apache Software Foundation. All rights reserved.