public class MatchPath extends TableFunctionEvaluator
Modifier and Type | Class and Description |
---|---|
static class |
MatchPath.Chain |
static class |
MatchPath.MatchPathResolver |
static class |
MatchPath.Plus |
static class |
MatchPath.ResultExpressionParser |
static class |
MatchPath.ResultExprInfo |
static class |
MatchPath.Star |
static class |
MatchPath.Symbol |
static class |
MatchPath.SymbolFunction |
static class |
MatchPath.SymbolFunctionResult |
static class |
MatchPath.SymbolParser |
Modifier and Type | Field and Description |
---|---|
static String |
PATHATTR_NAME |
canAcceptInputAsStream, OI, outputPartition, ptfDesc, rawInputOI, tableDef
Constructor and Description |
---|
MatchPath() |
Modifier and Type | Method and Description |
---|---|
protected static StructObjectInspector |
createSelectListOI(MatchPath evaluator,
PTFInputDef inpDef) |
protected static RowResolver |
createSelectListRR(MatchPath evaluator,
PTFInputDef inpDef) |
void |
execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition outP) |
HashMap<String,String> |
getInputColumnNames() |
static ArrayList<Object> |
getPath(Object currRow,
ObjectInspector rowOI,
PTFPartition.PTFPartitionIterator<Object> pItr,
int sz) |
MatchPath.ResultExprInfo |
getResultExprInfo() |
static Object |
getSelectListInput(Object currRow,
ObjectInspector rowOI,
PTFPartition.PTFPartitionIterator<Object> pItr,
int sz) |
void |
setInputColumnNames(HashMap<String,String> inputColumnNamesMap) |
void |
setResultExprInfo(MatchPath.ResultExprInfo resultExprInfo) |
_transformRawInput, canAcceptInputAsStream, canIterateOutput, close, execute, finishPartition, getOutputOI, getQueryDef, getRawInputOI, getTableDef, initializeStreaming, isTransformsRawInput, iterator, processRow, setOutputOI, setQueryDef, setRawInputOI, setTableDef, setTransformsRawInput, startPartition, transformRawInput, transformRawInputIterator
public static final String PATHATTR_NAME
public void execute(PTFPartition.PTFPartitionIterator<Object> pItr, PTFPartition outP) throws HiveException
execute
in class TableFunctionEvaluator
HiveException
public MatchPath.ResultExprInfo getResultExprInfo()
public void setResultExprInfo(MatchPath.ResultExprInfo resultExprInfo)
protected static RowResolver createSelectListRR(MatchPath evaluator, PTFInputDef inpDef) throws SemanticException
SemanticException
protected static StructObjectInspector createSelectListOI(MatchPath evaluator, PTFInputDef inpDef)
public static Object getSelectListInput(Object currRow, ObjectInspector rowOI, PTFPartition.PTFPartitionIterator<Object> pItr, int sz) throws HiveException
HiveException
public static ArrayList<Object> getPath(Object currRow, ObjectInspector rowOI, PTFPartition.PTFPartitionIterator<Object> pItr, int sz) throws HiveException
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.