| Modifier and Type | Interface and Description |
|---|---|
interface |
DrillScanPrel |
| Modifier and Type | Method and Description |
|---|---|
Prel |
ValuesPrel.copy(org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelNode> inputs) |
static Prel |
PrelUtil.removeSvIfRequired(Prel prel,
BatchSchema.SelectionVectorMode... allowed) |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Prel> |
PrelUtil.iter(List<org.apache.calcite.rel.RelNode> nodes) |
static Iterator<Prel> |
PrelUtil.iter(org.apache.calcite.rel.RelNode... nodes) |
Iterator<Prel> |
WriterPrel.iterator() |
Iterator<Prel> |
WindowPrel.iterator() |
Iterator<Prel> |
ValuesPrel.iterator() |
Iterator<Prel> |
UnionPrel.iterator() |
Iterator<Prel> |
StreamAggPrel.iterator() |
Iterator<Prel> |
SortPrel.iterator() |
Iterator<Prel> |
SinglePrel.iterator() |
Iterator<Prel> |
ScreenPrel.iterator() |
Iterator<Prel> |
ScanPrel.iterator() |
Iterator<Prel> |
ProjectPrel.iterator() |
Iterator<Prel> |
ProducerConsumerPrel.iterator() |
Iterator<Prel> |
LimitPrel.iterator() |
Iterator<Prel> |
JoinPrel.iterator() |
Iterator<Prel> |
FlattenPrel.iterator() |
Iterator<Prel> |
FilterPrel.iterator() |
Iterator<Prel> |
ComplexToJsonPrel.iterator() |
Iterator<Prel> |
AggPrelBase.iterator() |
| Modifier and Type | Method and Description |
|---|---|
PhysicalOperator |
PhysicalPlanCreator.addMetadata(Prel originalPrel,
PhysicalOperator op) |
PhysicalPlan |
PhysicalPlanCreator.build(Prel rootPrel,
boolean forceRebuild) |
static Prel |
PrelUtil.removeSvIfRequired(Prel prel,
BatchSchema.SelectionVectorMode... allowed) |
| Constructor and Description |
|---|
ComplexToJsonPrel(Prel phyRelNode) |
SelectionVectorRemoverPrel(Prel child) |
| Constructor and Description |
|---|
PhysicalPlanCreator(QueryContext context,
Map<Prel,PrelSequencer.OpId> opIdMap) |
| Modifier and Type | Method and Description |
|---|---|
static Map<Prel,PrelSequencer.OpId> |
PrelSequencer.getIdMap(Prel rel) |
Map<Prel,PrelSequencer.OpId> |
PrelSequencer.go(Prel root) |
| Modifier and Type | Method and Description |
|---|---|
static Map<Prel,PrelSequencer.OpId> |
PrelSequencer.getIdMap(Prel rel) |
Map<Prel,PrelSequencer.OpId> |
PrelSequencer.go(Prel root) |
static String |
PrelSequencer.printWithIds(Prel rel,
org.apache.calcite.sql.SqlExplainLevel explainlevel) |
Void |
PrelSequencer.visitPrel(Prel prel,
org.apache.drill.exec.planner.physical.explain.PrelSequencer.Frag value) |
| Modifier and Type | Method and Description |
|---|---|
static Prel |
ComplexToJsonPrelVisitor.addComplexToJsonPrel(Prel prel) |
static Prel |
FinalColumnReorderer.addFinalColumnOrdering(Prel prel) |
static Prel |
ProducerConsumerPrelVisitor.addProducerConsumerToScans(Prel prel,
int queueSize) |
static Prel |
SelectionVectorPrelVisitor.addSelectionRemoversWhereNecessary(Prel prel) |
static Prel |
InsertLocalExchangeVisitor.insertLocalExchanges(Prel prel,
OptionManager options) |
static Prel |
StarColumnConverter.insertRenameProject(Prel root) |
static Prel |
JoinPrelRenameVisitor.insertRenameProject(Prel prel) |
static Prel |
TopProjectVisitor.insertTopProject(Prel prel,
org.apache.calcite.rel.type.RelDataType validatedRowType)
Traverses passed physical relational node and its children and checks if top project
should be added under screen or writer to preserve final output fields names.
|
static Prel |
ExcessiveExchangeIdentifier.removeExcessiveEchanges(Prel prel,
long targetSliceSize) |
static Prel |
SwapHashJoinVisitor.swapHashJoin(Prel prel,
Double marginFactor) |
static Prel |
RelUniqifier.uniqifyGraph(Prel p) |
Prel |
ExcessiveExchangeIdentifier.visitExchange(ExchangePrel prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat parent) |
Prel |
InsertLocalExchangeVisitor.visitExchange(ExchangePrel prel,
Void value) |
Prel |
SwapHashJoinVisitor.visitJoin(JoinPrel prel,
Double value) |
Prel |
JoinPrelRenameVisitor.visitJoin(JoinPrel prel,
Void value) |
Prel |
SwapHashJoinVisitor.visitPrel(Prel prel,
Double value) |
Prel |
ExcessiveExchangeIdentifier.visitPrel(Prel prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) |
Prel |
SplitUpComplexExpressions.visitPrel(Prel prel,
Object value) |
Prel |
RewriteProjectToFlatten.visitPrel(Prel prel,
Object value) |
Prel |
RelUniqifier.visitPrel(Prel prel,
Set<Prel> data) |
Prel |
TopProjectVisitor.visitPrel(Prel prel,
Void value) |
Prel |
StarColumnConverter.visitPrel(Prel prel,
Void value) |
Prel |
SelectionVectorPrelVisitor.visitPrel(Prel prel,
Void value) |
Prel |
ProducerConsumerPrelVisitor.visitPrel(Prel prel,
Void value) |
Prel |
JoinPrelRenameVisitor.visitPrel(Prel prel,
Void value) |
Prel |
InsertLocalExchangeVisitor.visitPrel(Prel prel,
Void value) |
Prel |
FinalColumnReorderer.visitPrel(Prel prel,
Void value) |
Prel |
SplitUpComplexExpressions.visitProject(ProjectPrel project,
Object unused) |
Prel |
RewriteProjectToFlatten.visitProject(ProjectPrel node,
Object unused) |
Prel |
StarColumnConverter.visitProject(ProjectPrel prel,
Void value) |
Prel |
ExcessiveExchangeIdentifier.visitScan(ScanPrel prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) |
Prel |
StarColumnConverter.visitScan(ScanPrel scanPrel,
Void value) |
Prel |
ProducerConsumerPrelVisitor.visitScan(ScanPrel scanPrel,
Void value) |
Prel |
ExcessiveExchangeIdentifier.visitScreen(ScreenPrel prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) |
Prel |
TopProjectVisitor.visitScreen(ScreenPrel prel,
Void value) |
Prel |
StarColumnConverter.visitScreen(ScreenPrel prel,
Void value) |
Prel |
FinalColumnReorderer.visitScreen(ScreenPrel prel,
Void value) |
Prel |
ComplexToJsonPrelVisitor.visitScreen(ScreenPrel prel,
Void value) |
Prel |
TopProjectVisitor.visitWriter(WriterPrel prel,
Void value) |
Prel |
StarColumnConverter.visitWriter(WriterPrel prel,
Void value) |
Prel |
FinalColumnReorderer.visitWriter(WriterPrel prel,
Void value) |
| Modifier and Type | Method and Description |
|---|---|
static Prel |
ComplexToJsonPrelVisitor.addComplexToJsonPrel(Prel prel) |
static Prel |
FinalColumnReorderer.addFinalColumnOrdering(Prel prel) |
static Prel |
ProducerConsumerPrelVisitor.addProducerConsumerToScans(Prel prel,
int queueSize) |
static Prel |
SelectionVectorPrelVisitor.addSelectionRemoversWhereNecessary(Prel prel) |
static boolean |
MemoryEstimationVisitor.enoughMemory(Prel prel,
OptionManager options,
int numDrillbits) |
static Double |
MemoryEstimationVisitor.estimateMemory(Prel prel) |
static Prel |
InsertLocalExchangeVisitor.insertLocalExchanges(Prel prel,
OptionManager options) |
static Prel |
StarColumnConverter.insertRenameProject(Prel root) |
static Prel |
JoinPrelRenameVisitor.insertRenameProject(Prel prel) |
static Prel |
TopProjectVisitor.insertTopProject(Prel prel,
org.apache.calcite.rel.type.RelDataType validatedRowType)
Traverses passed physical relational node and its children and checks if top project
should be added under screen or writer to preserve final output fields names.
|
static void |
PrelVisualizerVisitor.print(String label,
Prel prel) |
static Prel |
ExcessiveExchangeIdentifier.removeExcessiveEchanges(Prel prel,
long targetSliceSize) |
void |
PrelVisualizerVisitor.VisualizationState.startNode(Prel prel) |
static Prel |
SwapHashJoinVisitor.swapHashJoin(Prel prel,
Double marginFactor) |
static Prel |
RelUniqifier.uniqifyGraph(Prel p) |
Prel |
SwapHashJoinVisitor.visitPrel(Prel prel,
Double value) |
Prel |
ExcessiveExchangeIdentifier.visitPrel(Prel prel,
org.apache.drill.exec.planner.physical.visitor.ExcessiveExchangeIdentifier.MajorFragmentStat s) |
RETURN |
PrelVisitor.visitPrel(Prel prel,
EXTRA value) |
RETURN |
BasePrelVisitor.visitPrel(Prel prel,
EXTRA value) |
Prel |
SplitUpComplexExpressions.visitPrel(Prel prel,
Object value) |
Prel |
RewriteProjectToFlatten.visitPrel(Prel prel,
Object value) |
Void |
PrelVisualizerVisitor.visitPrel(Prel prel,
PrelVisualizerVisitor.VisualizationState value) |
Prel |
RelUniqifier.visitPrel(Prel prel,
Set<Prel> data) |
Prel |
TopProjectVisitor.visitPrel(Prel prel,
Void value) |
Prel |
StarColumnConverter.visitPrel(Prel prel,
Void value) |
Prel |
SelectionVectorPrelVisitor.visitPrel(Prel prel,
Void value) |
Prel |
ProducerConsumerPrelVisitor.visitPrel(Prel prel,
Void value) |
Double |
MemoryEstimationVisitor.visitPrel(Prel prel,
Void value) |
Prel |
JoinPrelRenameVisitor.visitPrel(Prel prel,
Void value) |
Prel |
InsertLocalExchangeVisitor.visitPrel(Prel prel,
Void value) |
Prel |
FinalColumnReorderer.visitPrel(Prel prel,
Void value) |
static String |
PrelVisualizerVisitor.visualize(Prel prel) |
| Modifier and Type | Method and Description |
|---|---|
Prel |
RelUniqifier.visitPrel(Prel prel,
Set<Prel> data) |
| Modifier and Type | Method and Description |
|---|---|
protected Prel |
DefaultSqlHandler.convertToPrel(org.apache.calcite.rel.RelNode drel,
org.apache.calcite.rel.type.RelDataType validatedRowType)
Applies physical rules and certain transformations to convert drill relational node into physical one.
|
Prel |
PrelFinalizable.finalizeRel() |
| Modifier and Type | Method and Description |
|---|---|
protected PhysicalOperator |
DefaultSqlHandler.convertToPop(Prel prel) |
protected void |
DefaultSqlHandler.logAndSetTextPlan(String description,
Prel prel,
org.slf4j.Logger logger) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.