public interface ICostEstimate extends Serializable
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
double |
getCostOfColumnGroup(CompressedSizeInfoColGroup g)
If the instruction does not care about the inter column group cost, such as in memory cost or in computation cost
of right or left matrix multiplication we simply estimate the cost of individual column groups.
|
double |
getUncompressedCost(CompressedSizeInfoColGroup g)
Calculate the cost of execution if uncompressed.
|
boolean |
shouldAnalyze(CompressedSizeInfoColGroup g1,
CompressedSizeInfoColGroup g2)
Decide if the column groups should be analysed, or the worst case join should be expected.
|
static final long serialVersionUID
static final org.apache.commons.logging.Log LOG
double getUncompressedCost(CompressedSizeInfoColGroup g)
g
- A potential column group to compare to.double getCostOfColumnGroup(CompressedSizeInfoColGroup g)
g
- Column group to estimate the cost ofboolean shouldAnalyze(CompressedSizeInfoColGroup g1, CompressedSizeInfoColGroup g2)
g1
- Group 1g2
- Group 2Copyright © 2021 The Apache Software Foundation. All rights reserved.