public class WindowingTableFunction extends TableFunctionEvaluator
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowingTableFunction.SameList<E> |
class |
WindowingTableFunction.WindowingIterator |
static class |
WindowingTableFunction.WindowingTableFunctionResolver |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
canAcceptInputAsStream, OI, outputPartition, ptfDesc, rawInputOI, tableDef| Constructor and Description |
|---|
WindowingTableFunction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canIterateOutput() |
void |
execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition outP) |
List<Object> |
finishPartition() |
Map<String,org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.WindowingFunctionInfoHelper> |
getWindowingFunctionHelpers() |
void |
initializeStreaming(org.apache.hadoop.conf.Configuration cfg,
StructObjectInspector inputOI,
boolean isMapSide) |
Iterator<Object> |
iterator(PTFPartition.PTFPartitionIterator<Object> pItr) |
List<Object> |
processRow(Object row) |
protected void |
setOutputOI(StructObjectInspector outputOI) |
void |
setWindowingFunctionHelpers(Map<String,org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.WindowingFunctionInfoHelper> windowingFunctionHelpers) |
void |
startPartition() |
_transformRawInput, canAcceptInputAsStream, close, execute, getOutputOI, getQueryDef, getRawInputOI, getTableDef, isTransformsRawInput, setQueryDef, setRawInputOI, setTableDef, setTransformsRawInput, transformRawInput, transformRawInputIteratorpublic Map<String,org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.WindowingFunctionInfoHelper> getWindowingFunctionHelpers()
public void setWindowingFunctionHelpers(Map<String,org.apache.hadoop.hive.ql.udf.ptf.WindowingTableFunction.WindowingFunctionInfoHelper> windowingFunctionHelpers)
public void execute(PTFPartition.PTFPartitionIterator<Object> pItr, PTFPartition outP) throws HiveException
execute in class TableFunctionEvaluatorHiveExceptionprotected void setOutputOI(StructObjectInspector outputOI)
setOutputOI in class TableFunctionEvaluatorpublic void initializeStreaming(org.apache.hadoop.conf.Configuration cfg,
StructObjectInspector inputOI,
boolean isMapSide)
throws HiveException
initializeStreaming in class TableFunctionEvaluatorHiveExceptionpublic void startPartition()
throws HiveException
startPartition in class TableFunctionEvaluatorHiveExceptionpublic List<Object> processRow(Object row) throws HiveException
processRow in class TableFunctionEvaluatorHiveExceptionpublic List<Object> finishPartition() throws HiveException
finishPartition in class TableFunctionEvaluatorHiveExceptionpublic boolean canIterateOutput()
canIterateOutput in class TableFunctionEvaluatorpublic Iterator<Object> iterator(PTFPartition.PTFPartitionIterator<Object> pItr) throws HiveException
iterator in class TableFunctionEvaluatorHiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.