private static class VolcanoCost.Factory extends java.lang.Object implements RelOptCostFactory
RelOptCostFactory
that creates VolcanoCost
s.Modifier | Constructor and Description |
---|---|
private |
Factory() |
Modifier and Type | Method and Description |
---|---|
RelOptCost |
makeCost(double dRows,
double dCpu,
double dIo)
Creates a cost object.
|
RelOptCost |
makeHugeCost()
Creates a cost object representing an enormous non-infinite cost.
|
RelOptCost |
makeInfiniteCost()
Creates a cost object representing infinite cost.
|
RelOptCost |
makeTinyCost()
Creates a cost object representing a small positive cost.
|
RelOptCost |
makeZeroCost()
Creates a cost object representing zero cost.
|
public RelOptCost makeCost(double dRows, double dCpu, double dIo)
RelOptCostFactory
makeCost
in interface RelOptCostFactory
public RelOptCost makeHugeCost()
RelOptCostFactory
makeHugeCost
in interface RelOptCostFactory
public RelOptCost makeInfiniteCost()
RelOptCostFactory
makeInfiniteCost
in interface RelOptCostFactory
public RelOptCost makeTinyCost()
RelOptCostFactory
makeTinyCost
in interface RelOptCostFactory
public RelOptCost makeZeroCost()
RelOptCostFactory
makeZeroCost
in interface RelOptCostFactory
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.