public abstract class CostEstimator extends Object
Constructor and Description |
---|
CostEstimator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addArtificialDamCost(EstimateProvider estimates,
long bufferSize,
Costs costs) |
abstract void |
addBlockNestedLoopsCosts(EstimateProvider outerSide,
EstimateProvider innerSide,
long blockSize,
Costs costs,
int costWeight) |
abstract void |
addBroadcastCost(EstimateProvider estimates,
int replicationFactor,
Costs costs) |
abstract void |
addCachedHybridHashCosts(EstimateProvider buildSide,
EstimateProvider probeSide,
Costs costs,
int costWeight) |
abstract void |
addFileInputCost(long fileSizeInBytes,
Costs costs) |
abstract void |
addHashPartitioningCost(EstimateProvider estimates,
Costs costs) |
abstract void |
addHybridHashCosts(EstimateProvider buildSide,
EstimateProvider probeSide,
Costs costs,
int costWeight) |
abstract void |
addLocalMergeCost(EstimateProvider estimates1,
EstimateProvider estimates2,
Costs costs,
int costWeight) |
abstract void |
addLocalSortCost(EstimateProvider estimates,
Costs costs) |
abstract void |
addRandomPartitioningCost(EstimateProvider estimates,
Costs costs) |
abstract void |
addRangePartitionCost(EstimateProvider estimates,
Costs costs) |
abstract void |
addStreamedNestedLoopsCosts(EstimateProvider outerSide,
EstimateProvider innerSide,
long bufferSize,
Costs costs,
int costWeight) |
void |
costOperator(PlanNode n)
This method computes the cost of an operator.
|
public abstract void addRandomPartitioningCost(EstimateProvider estimates, Costs costs)
public abstract void addHashPartitioningCost(EstimateProvider estimates, Costs costs)
public abstract void addRangePartitionCost(EstimateProvider estimates, Costs costs)
public abstract void addBroadcastCost(EstimateProvider estimates, int replicationFactor, Costs costs)
public abstract void addFileInputCost(long fileSizeInBytes, Costs costs)
public abstract void addLocalSortCost(EstimateProvider estimates, Costs costs)
public abstract void addLocalMergeCost(EstimateProvider estimates1, EstimateProvider estimates2, Costs costs, int costWeight)
public abstract void addHybridHashCosts(EstimateProvider buildSide, EstimateProvider probeSide, Costs costs, int costWeight)
public abstract void addCachedHybridHashCosts(EstimateProvider buildSide, EstimateProvider probeSide, Costs costs, int costWeight)
public abstract void addStreamedNestedLoopsCosts(EstimateProvider outerSide, EstimateProvider innerSide, long bufferSize, Costs costs, int costWeight)
public abstract void addBlockNestedLoopsCosts(EstimateProvider outerSide, EstimateProvider innerSide, long blockSize, Costs costs, int costWeight)
public abstract void addArtificialDamCost(EstimateProvider estimates, long bufferSize, Costs costs)
public void costOperator(PlanNode n)
It requires at least that all inputs are set and have a proper ship strategy set, which is not equal to NONE.
n
- The node to compute the costs for.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.