public interface AccessPath
Modifier and Type | Method and Description |
---|---|
void |
copy(AccessPath copyFrom)
Copy all information from the given AccessPath to this one.
|
ConglomerateDescriptor |
getConglomerateDescriptor()
Get whatever was last set as the conglomerate descriptor.
|
CostEstimate |
getCostEstimate()
Get the cost estimate for this AccessPath.
|
boolean |
getCoveringIndexScan()
Return whether or not the optimizer is considering a covering index
scan on this AccessPath.
|
JoinStrategy |
getJoinStrategy()
Get the join strategy, as set by setJoinStrategy().
|
int |
getLockMode()
Get the lock mode, as last set in setLockMode().
|
boolean |
getNonMatchingIndexScan()
Return whether or not the optimizer is considering a non-matching
index scan on this AccessPath.
|
Optimizer |
getOptimizer()
Get the optimizer associated with this access path.
|
void |
initializeAccessPathName(DataDictionary dd,
TableDescriptor td)
Sets the "name" of the access path. if the access path represents an
index then set the name to the name of the index. if it is an index
created for a constraint, use the constraint name.
|
void |
setConglomerateDescriptor(ConglomerateDescriptor cd)
Set the conglomerate descriptor for this access path.
|
void |
setCostEstimate(CostEstimate costEstimate)
Set the given cost estimate in this AccessPath.
|
void |
setCoveringIndexScan(boolean coveringIndexScan)
Set whether or not to consider a covering index scan on the optimizable.
|
void |
setJoinStrategy(JoinStrategy joinStrategy)
Remember the given join strategy
|
void |
setLockMode(int lockMode)
Set the lock mode
|
void |
setNonMatchingIndexScan(boolean nonMatchingIndexScan)
Set whether or not to consider a non-matching index scan on this
AccessPath.
|
void setConglomerateDescriptor(ConglomerateDescriptor cd)
cd
- A ConglomerateDescriptorConglomerateDescriptor getConglomerateDescriptor()
void setCostEstimate(CostEstimate costEstimate)
CostEstimate getCostEstimate()
void setCoveringIndexScan(boolean coveringIndexScan)
boolean getCoveringIndexScan()
void setNonMatchingIndexScan(boolean nonMatchingIndexScan)
boolean getNonMatchingIndexScan()
void setJoinStrategy(JoinStrategy joinStrategy)
joinStrategy
- The best join strategyJoinStrategy getJoinStrategy()
void setLockMode(int lockMode)
int getLockMode()
void copy(AccessPath copyFrom)
Optimizer getOptimizer()
void initializeAccessPathName(DataDictionary dd, TableDescriptor td) throws StandardException
td
- TableDescriptor of the base table.dd
- Datadictionary.StandardException
- on error.Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.