Methods
Modifier and Type |
Method and Description |
protected static ArrayList<PTFInvocationSpec.OrderExpression> |
addPartitionExpressionsToOrderList(ArrayList<PTFInvocationSpec.PartitionExpression> partCols,
ArrayList<PTFInvocationSpec.OrderExpression> orderCols) |
PTFExpressionDef |
buildExpressionDef(ShapeDetails inpShape,
ASTNode arg) |
protected static RowResolver |
buildRowResolverForNoop(String tabAlias,
StructObjectInspector rowObjectInspector,
RowResolver inputRowResolver) |
protected static RowResolver |
buildRowResolverForPTF(String tbFnName,
String tabAlias,
StructObjectInspector rowObjectInspector,
List<String> outputColNames,
RowResolver inputRR) |
protected RowResolver |
buildRowResolverForWindowing(WindowTableFunctionDef def) |
static ArrayList<PTFInvocationSpec> |
componentize(PTFInvocationSpec ptfInvocation) |
protected static SerDe |
createLazyBinarySerDe(org.apache.hadoop.conf.Configuration cfg,
StructObjectInspector oi,
Map<String,String> serdePropsMap) |
static ASTNode |
getASTNode(ColumnInfo cInfo,
RowResolver rr) |
static StructObjectInspector |
getStandardStructOI(RowResolver rr)
For each column on the input RR, construct a StructField for it
OI is constructed using the list of input column names and
their corresponding OIs.
|
PTFDesc |
translate(PTFInvocationSpec qSpec,
SemanticAnalyzer semAly,
HiveConf hCfg,
RowResolver inputRR,
UnparseTranslator unparseT) |
PTFDesc |
translate(WindowingSpec wdwSpec,
SemanticAnalyzer semAly,
HiveConf hCfg,
RowResolver inputRR,
UnparseTranslator unparseT) |
protected static void |
validateComparable(ObjectInspector OI,
String errMsg) |
static void |
validateNoLeadLagInValueBoundarySpec(ASTNode node) |
static void |
visit(Object t,
org.antlr.runtime.tree.TreeWizard.ContextVisitor visitor) |