|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AccessPath represents a proposed access path for an Optimizable. An Optimizable may have more than one proposed AccessPath.
Method Summary | |
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. |
Method Detail |
public void setConglomerateDescriptor(ConglomerateDescriptor cd)
cd
- A ConglomerateDescriptor
public ConglomerateDescriptor getConglomerateDescriptor()
public void setCostEstimate(CostEstimate costEstimate)
public CostEstimate getCostEstimate()
public void setCoveringIndexScan(boolean coveringIndexScan)
public boolean getCoveringIndexScan()
public void setNonMatchingIndexScan(boolean nonMatchingIndexScan)
public boolean getNonMatchingIndexScan()
public void setJoinStrategy(JoinStrategy joinStrategy)
joinStrategy
- The best join strategypublic JoinStrategy getJoinStrategy()
public void setLockMode(int lockMode)
public int getLockMode()
public void copy(AccessPath copyFrom)
public Optimizer getOptimizer()
public void initializeAccessPathName(DataDictionary dd, TableDescriptor td) throws StandardException
td
- TableDescriptor of the base table.dd
- Datadictionary.
StandardException
- on error.
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |