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 java.lang.String |
PATHATTR_NAME |
OI, outputPartition, ptfDesc, rawInputOI, tDef
Constructor and Description |
---|
MatchPath() |
Modifier and Type | Method and Description |
---|---|
protected static StructObjectInspector |
createSelectListOI(MatchPath evaluator,
PTFDesc.PTFInputDef inpDef) |
protected static RowResolver |
createSelectListRR(MatchPath evaluator,
PTFDesc.PTFInputDef inpDef) |
void |
execute(PTFPartition.PTFPartitionIterator<java.lang.Object> pItr,
PTFPartition outP) |
java.util.HashMap<java.lang.String,java.lang.String> |
getInputColumnNames() |
static java.util.ArrayList<java.lang.Object> |
getPath(java.lang.Object currRow,
ObjectInspector rowOI,
PTFPartition.PTFPartitionIterator<java.lang.Object> pItr,
int sz) |
MatchPath.ResultExprInfo |
getResultExprInfo() |
static java.lang.Object |
getSelectListInput(java.lang.Object currRow,
ObjectInspector rowOI,
PTFPartition.PTFPartitionIterator<java.lang.Object> pItr,
int sz) |
void |
setInputColumnNames(java.util.HashMap<java.lang.String,java.lang.String> inputColumnNamesMap) |
void |
setResultExprInfo(MatchPath.ResultExprInfo resultExprInfo) |
_transformRawInput, execute, getOutputOI, getQueryDef, getRawInputOI, getTableDef, isTransformsRawInput, setOutputOI, setQueryDef, setRawInputOI, setTableDef, setTransformsRawInput, transformRawInput
public static final java.lang.String PATHATTR_NAME
public void execute(PTFPartition.PTFPartitionIterator<java.lang.Object> pItr, PTFPartition outP) throws HiveException
execute
in class TableFunctionEvaluator
HiveException
public java.util.HashMap<java.lang.String,java.lang.String> getInputColumnNames()
public void setInputColumnNames(java.util.HashMap<java.lang.String,java.lang.String> inputColumnNamesMap)
public MatchPath.ResultExprInfo getResultExprInfo()
public void setResultExprInfo(MatchPath.ResultExprInfo resultExprInfo)
protected static RowResolver createSelectListRR(MatchPath evaluator, PTFDesc.PTFInputDef inpDef) throws SemanticException
SemanticException
protected static StructObjectInspector createSelectListOI(MatchPath evaluator, PTFDesc.PTFInputDef inpDef)
public static java.lang.Object getSelectListInput(java.lang.Object currRow, ObjectInspector rowOI, PTFPartition.PTFPartitionIterator<java.lang.Object> pItr, int sz) throws HiveException
HiveException
public static java.util.ArrayList<java.lang.Object> getPath(java.lang.Object currRow, ObjectInspector rowOI, PTFPartition.PTFPartitionIterator<java.lang.Object> pItr, int sz) throws HiveException
HiveException
Copyright © 2012 The Apache Software Foundation