| Package | Description |
|---|---|
| org.apache.tajo.plan | |
| org.apache.tajo.plan.expr | |
| org.apache.tajo.plan.logical | |
| org.apache.tajo.plan.rewrite.rules | |
| org.apache.tajo.plan.serder |
This package provides (de)serialization API for logical plan and it related parts.
|
| org.apache.tajo.plan.util |
| Modifier and Type | Method and Description |
|---|---|
Target[] |
LogicalPlan.QueryBlock.getRawTargets() |
Target |
NamedExprsManager.getTarget(String name) |
Target |
NamedExprsManager.getTarget(String referenceName,
boolean unevaluatedForm)
get a Target instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LogicalPlan.QueryBlock.setRawTargets(Target[] rawTargets) |
| Modifier and Type | Method and Description |
|---|---|
static Schema |
EvalTreeUtil.getSchemaByTargets(Schema inputSchema,
Target[] targets) |
| Modifier and Type | Field and Description |
|---|---|
protected Target[] |
ScanNode.targets |
| Modifier and Type | Method and Description |
|---|---|
Target[] |
EvalExprNode.getExprs() |
Target[] |
WindowAggNode.getTargets() |
Target[] |
TableSubQueryNode.getTargets() |
Target[] |
ScanNode.getTargets() |
Target[] |
ProjectionNode.getTargets() |
Target[] |
Projectable.getTargets()
Get a list of targets
|
Target[] |
JoinNode.getTargets() |
Target[] |
GroupbyNode.getTargets() |
Target[] |
EvalExprNode.getTargets() |
Target[] |
DistinctGroupbyNode.getTargets() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectionNode.init(boolean distinct,
Target[] targets) |
void |
WindowAggNode.setTargets(Target[] targets) |
void |
TableSubQueryNode.setTargets(Target[] targets) |
void |
ScanNode.setTargets(Target[] targets) |
void |
ProjectionNode.setTargets(Target[] targets) |
void |
Projectable.setTargets(Target[] targets)
Set a target list
|
void |
JoinNode.setTargets(Target[] targets) |
void |
GroupbyNode.setTargets(Target[] targets) |
void |
EvalExprNode.setTargets(Target[] targets) |
void |
DistinctGroupbyNode.setTargets(Target[] targets) |
| Modifier and Type | Method and Description |
|---|---|
static Target[] |
ProjectionPushDownRule.buildGroupByTarget(GroupbyNode groupbyNode,
List<Target> groupingKeyTargets,
String[] aggEvalNames) |
Target |
ProjectionPushDownRule.TargetListManager.getTarget(String name) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Target> |
ProjectionPushDownRule.TargetListManager.getFilteredTargets(Set<String> required) |
| Modifier and Type | Method and Description |
|---|---|
String |
ProjectionPushDownRule.TargetListManager.add(Target target) |
void |
ProjectionPushDownRule.TargetListManager.markAsEvaluated(Target target) |
| Modifier and Type | Method and Description |
|---|---|
static Target[] |
ProjectionPushDownRule.buildGroupByTarget(GroupbyNode groupbyNode,
List<Target> groupingKeyTargets,
String[] aggEvalNames) |
| Modifier and Type | Method and Description |
|---|---|
static Target[] |
LogicalNodeDeserializer.convertTargets(OverridableConf context,
List<PlanProto.Target> targetsProto) |
| Modifier and Type | Method and Description |
|---|---|
static PlanProto.Target |
LogicalNodeSerializer.convertTarget(Target target) |
| Modifier and Type | Method and Description |
|---|---|
static Target[] |
PlannerUtil.schemaToTargets(Schema schema) |
static Target[] |
PlannerUtil.schemaToTargetsWithGeneratedFields(Schema schema) |
static Target[] |
PlannerUtil.stripTarget(Target[] sourceTargets)
It removes all table names from FieldEvals in targets
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PlannerUtil.schemaToTargets(Schema schema,
Target[] targets)
fill targets with FieldEvals from a given schema
|
static Target[] |
PlannerUtil.stripTarget(Target[] sourceTargets)
It removes all table names from FieldEvals in targets
|
static Schema |
PlannerUtil.targetToSchema(Target[] targets) |
| Modifier and Type | Method and Description |
|---|---|
static Schema |
PlannerUtil.targetToSchema(Collection<Target> targets) |
Copyright © 2015 Apache Software Foundation. All Rights Reserved.