| Package | Description |
|---|---|
| io.prestosql.cost |
| Modifier and Type | Method and Description |
|---|---|
static LocalCostEstimate |
LocalCostEstimate.addPartialComponents(LocalCostEstimate one,
LocalCostEstimate two,
LocalCostEstimate... more)
Sums partial cost estimates of some (single) plan node.
|
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateJoinCostWithoutOutput(PlanNode probe,
PlanNode build,
StatsProvider stats,
TypeProvider types,
boolean replicated,
int estimatedSourceDistributedTaskCount) |
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateJoinInputCost(PlanNode probe,
PlanNode build,
StatsProvider stats,
TypeProvider types,
boolean replicated,
int estimatedSourceDistributedTaskCount) |
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateLocalRepartitionCost(double inputSizeInBytes) |
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateRemoteGatherCost(double inputSizeInBytes) |
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateRemoteRepartitionCost(double inputSizeInBytes) |
static LocalCostEstimate |
CostCalculatorWithEstimatedExchanges.calculateRemoteReplicateCost(double inputSizeInBytes,
int destinationTaskCount) |
LocalCostEstimate |
PlanCostEstimate.getRootNodeLocalCostEstimate()
Returns local cost estimate for the root plan node.
|
static LocalCostEstimate |
LocalCostEstimate.of(double cpuCost,
double maxMemory,
double networkCost) |
static LocalCostEstimate |
LocalCostEstimate.ofCpu(double cpuCost) |
static LocalCostEstimate |
LocalCostEstimate.ofNetwork(double networkCost) |
static LocalCostEstimate |
LocalCostEstimate.unknown() |
static LocalCostEstimate |
LocalCostEstimate.zero() |
| Modifier and Type | Method and Description |
|---|---|
static LocalCostEstimate |
LocalCostEstimate.addPartialComponents(LocalCostEstimate one,
LocalCostEstimate two,
LocalCostEstimate... more)
Sums partial cost estimates of some (single) plan node.
|
static LocalCostEstimate |
LocalCostEstimate.addPartialComponents(LocalCostEstimate one,
LocalCostEstimate two,
LocalCostEstimate... more)
Sums partial cost estimates of some (single) plan node.
|
| Constructor and Description |
|---|
PlanCostEstimate(double cpuCost,
double maxMemory,
double maxMemoryWhenOutputting,
double networkCost,
LocalCostEstimate rootNodeLocalCostEstimate) |
Copyright © 2012–2019. All rights reserved.