| Modifier and Type | Field and Description |
|---|---|
| pack-priv double | |
| pack-priv double | |
| pack-priv double |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CostEstimate | add(CostEstimate
This cost estimate to add this one to. other, CostEstimate If non-null, put the result here. retval)Implements org. Add this cost estimate to another one. |
| public CostEstimate | cloneMe()
Implements org. Get a copy of this CostEstimate |
| public double | compare(CostEstimate
The cost estimate to compare this one with other)Implements org. Compare this cost estimate with the given cost estimate. |
| public CostEstimate | divide(double
The value to divide this CostEstimate by. divisor, CostEstimate If non-null, put the result here. retval)Implements org. Divide this cost estimate by a scalar, non-dimensional number. |
| public double | getEstimatedCost()
Implements org. Get the estimated cost. |
| public long | getEstimatedRowCount()
Implements org. Get the estimated row count. |
| public boolean | isUninitialized()
Implements org. Return whether or not this CostEstimate is uninitialized. |
| public CostEstimate | multiply(double
The value to multiply this CostEstimate by. multiplicand, CostEstimate If non-null, put the result here. retval)Implements org. Multiply this cost estimate by a scalar, non-dimensional number. |
| public double | rowCount()
Implements org. Get the estimated number of rows returned by the ResultSet that this CostEstimate models. |
| public void | setCost(double cost, double rowCount, double singleScanRowCount)
Implements org. Set the cost for this cost estimate. |
| public void | setCost(CostEstimate other)
Implements org. Copy the values from the given cost estimate into this one. |
| public void | setEstimatedCost(double cost)
Implements org. Set the estimated cost. |
| public void | setEstimatedRowCount(long count)
Implements org. Set the estimated row count. |
| public void | setSingleScanRowCount(double singleScanRowCount)
Implements org. Set the single scan row count. |
| pack-priv CostEstimateImpl | |
| public double | singleScanRowCount()
Implements org. Get the estimated number of rows returned by a single scan of the ResultSet that this CostEstimate models. |
| public String |
| cost | back to summary |
|---|---|
| pack-priv double cost | |
| rowCount | back to summary |
|---|---|
| pack-priv double rowCount | |
| singleScanRowCount | back to summary |
|---|---|
| pack-priv double singleScanRowCount | |
| CostEstimateImpl | back to summary |
|---|---|
| pack-priv CostEstimateImpl() | |
| CostEstimateImpl | back to summary |
|---|---|
| pack-priv CostEstimateImpl(double theCost, double theRowCount, double theSingleScanRowCount) | |
| add | back to summary |
|---|---|
| public CostEstimate add(CostEstimate other, CostEstimate retval) Implements org. Doc from org. Add this cost estimate to another one. This presumes that any row ordering is destroyed.
| |
| cloneMe | back to summary |
|---|---|
| public CostEstimate cloneMe() Implements org. Doc from org. Get a copy of this CostEstimate
| |
| compare | back to summary |
|---|---|
| public double compare(CostEstimate other) Implements org. Doc from org. Compare this cost estimate with the given cost estimate.
| |
| divide | back to summary |
|---|---|
| public CostEstimate divide(double divisor, CostEstimate retval) Implements org. Doc from org. Divide this cost estimate by a scalar, non-dimensional number.
| |
| getEstimatedCost | back to summary |
|---|---|
| public double getEstimatedCost() Implements org. Doc from org. Get the estimated cost.
| |
| getEstimatedRowCount | back to summary |
|---|---|
| public long getEstimatedRowCount() Implements org. Doc from org. Get the estimated row count.
| |
| isUninitialized | back to summary |
|---|---|
| public boolean isUninitialized() Implements org. Doc from org. Return whether or not this CostEstimate is uninitialized.
| |
| multiply | back to summary |
|---|---|
| public CostEstimate multiply(double multiplicand, CostEstimate retval) Implements org. Doc from org. Multiply this cost estimate by a scalar, non-dimensional number. This presumes that any row ordering is destroyed.
| |
| rowCount | back to summary |
|---|---|
| public double rowCount() Implements org. Doc from org. Get the estimated number of rows returned by the ResultSet that this CostEstimate models.
| |
| setCost | back to summary |
|---|---|
| public void setCost(double cost, double rowCount, double singleScanRowCount) Implements org. Doc from org. Set the cost for this cost estimate.
| |
| setCost | back to summary |
|---|---|
| public void setCost(CostEstimate other) Implements org. Doc from org. Copy the values from the given cost estimate into this one.
| |
| setEstimatedCost | back to summary |
|---|---|
| public void setEstimatedCost(double cost) Implements org. Doc from org. Set the estimated cost.
| |
| setEstimatedRowCount | back to summary |
|---|---|
| public void setEstimatedRowCount(long count) Implements org. Doc from org. Set the estimated row count.
| |
| setSingleScanRowCount | back to summary |
|---|---|
| public void setSingleScanRowCount(double singleScanRowCount) Implements org. Doc from org. Set the single scan row count.
| |
| setState | back to summary |
|---|---|
| pack-priv CostEstimateImpl setState(double theCost, double theRowCount, CostEstimateImpl retval) | |
| singleScanRowCount | back to summary |
|---|---|
| public double singleScanRowCount() Implements org. Doc from org. Get the estimated number of rows returned by a single scan of the ResultSet that this CostEstimate models.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |