Package | Description |
---|---|
org.apache.hadoop.hive.ql.optimizer |
Modifier and Type | Method and Description |
---|---|
static FieldNode |
NestedColumnFieldPruningUtils.addNodeByPath(FieldNode fieldNode,
String path)
Add a leaf node to the field tree if the specified path is not contained by
current tree specified by the passed parameter field node.
|
static FieldNode |
FieldNode.fromPath(String path) |
static FieldNode |
FieldNode.mergeFieldNode(FieldNode left,
FieldNode right)
Merge the field nodes 'left' and 'right' and return the merged node.
|
Modifier and Type | Method and Description |
---|---|
List<FieldNode> |
ColumnPrunerProcCtx.genColLists(Operator<? extends OperatorDesc> curOp)
Creates the list of internal column names(represented by field nodes,
these names are used in the RowResolver and are different from the
external column names) that are needed in the subtree.
|
List<FieldNode> |
ColumnPrunerProcCtx.genColLists(Operator<? extends OperatorDesc> curOp,
Operator<? extends OperatorDesc> child)
Creates the list of internal column names (represented by field nodes,
these names are used in the RowResolver and are different from the
external column names) that are needed in the subtree.
|
List<FieldNode> |
ColumnPrunerProcCtx.getColsFromSelectExpr(SelectOperator op)
Creates the list of internal column names (represented by field nodes)
from select expressions in a select operator.
|
Map<CommonJoinOperator,Map<Byte,List<FieldNode>>> |
ColumnPrunerProcCtx.getJoinPrunedColLists() |
List<FieldNode> |
FieldNode.getNodes() |
List<FieldNode> |
ColumnPrunerProcCtx.getPrunedColList(Operator<? extends OperatorDesc> op) |
Map<Operator<? extends OperatorDesc>,List<FieldNode>> |
ColumnPrunerProcCtx.getPrunedColLists() |
List<FieldNode> |
ColumnPrunerProcCtx.getSelectColsFromChildren(SelectOperator op,
List<FieldNode> colList)
Creates the list of internal column names for select * expressions.
|
List<FieldNode> |
ColumnPrunerProcCtx.getSelectColsFromLVJoin(RowSchema rs,
List<FieldNode> colList)
Create the list of internal columns for select tag of LV
|
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> nodes,
FieldNode fn)
Merge the field node 'fn' into list 'nodes', and return the result list.
|
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> left,
List<FieldNode> right) |
Modifier and Type | Method and Description |
---|---|
void |
FieldNode.addFieldNodes(FieldNode... nodes) |
static FieldNode |
NestedColumnFieldPruningUtils.addNodeByPath(FieldNode fieldNode,
String path)
Add a leaf node to the field tree if the specified path is not contained by
current tree specified by the passed parameter field node.
|
static FieldNode |
FieldNode.mergeFieldNode(FieldNode left,
FieldNode right)
Merge the field nodes 'left' and 'right' and return the merged node.
|
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> nodes,
FieldNode fn)
Merge the field node 'fn' into list 'nodes', and return the result list.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldNode.addFieldNodes(List<FieldNode> nodes) |
List<FieldNode> |
ColumnPrunerProcCtx.getSelectColsFromChildren(SelectOperator op,
List<FieldNode> colList)
Creates the list of internal column names for select * expressions.
|
List<FieldNode> |
ColumnPrunerProcCtx.getSelectColsFromLVJoin(RowSchema rs,
List<FieldNode> colList)
Create the list of internal columns for select tag of LV
|
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> nodes,
FieldNode fn)
Merge the field node 'fn' into list 'nodes', and return the result list.
|
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> left,
List<FieldNode> right) |
static List<FieldNode> |
FieldNode.mergeFieldNodes(List<FieldNode> left,
List<FieldNode> right) |
void |
FieldNode.setNodes(List<FieldNode> nodes) |
static void |
ColumnPrunerProcFactory.setupNeededColumns(TableScanOperator scanOp,
RowSchema inputRS,
List<FieldNode> cols)
Sets up needed columns for TSOP.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.