|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.compile.AccessPathImpl
class AccessPathImpl
| Field Summary | |
|---|---|
private java.lang.String |
accessPathName
|
(package private) ConglomerateDescriptor |
cd
|
private CostEstimate |
costEstimate
|
(package private) boolean |
coveringIndexScan
|
(package private) JoinStrategy |
joinStrategy
|
(package private) int |
lockMode
|
(package private) boolean |
nonMatchingIndexScan
|
(package private) Optimizer |
optimizer
|
| Constructor Summary | |
|---|---|
AccessPathImpl(Optimizer optimizer)
|
|
| 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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
ConglomerateDescriptor cd
private CostEstimate costEstimate
boolean coveringIndexScan
boolean nonMatchingIndexScan
JoinStrategy joinStrategy
int lockMode
Optimizer optimizer
private java.lang.String accessPathName
| Constructor Detail |
|---|
AccessPathImpl(Optimizer optimizer)
| Method Detail |
|---|
public void setConglomerateDescriptor(ConglomerateDescriptor cd)
AccessPath
setConglomerateDescriptor in interface AccessPathcd - A ConglomerateDescriptorAccessPath.setConglomerateDescriptor(org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor)public ConglomerateDescriptor getConglomerateDescriptor()
AccessPath
getConglomerateDescriptor in interface AccessPathAccessPath.getConglomerateDescriptor()public void setCostEstimate(CostEstimate costEstimate)
AccessPath
setCostEstimate in interface AccessPathAccessPath.setCostEstimate(org.apache.derby.iapi.sql.compile.CostEstimate)public CostEstimate getCostEstimate()
AccessPath
getCostEstimate in interface AccessPathAccessPath.getCostEstimate()public void setCoveringIndexScan(boolean coveringIndexScan)
AccessPath
setCoveringIndexScan in interface AccessPathAccessPath.setCoveringIndexScan(boolean)public boolean getCoveringIndexScan()
AccessPath
getCoveringIndexScan in interface AccessPathAccessPath.getCoveringIndexScan()public void setNonMatchingIndexScan(boolean nonMatchingIndexScan)
AccessPath
setNonMatchingIndexScan in interface AccessPathAccessPath.setNonMatchingIndexScan(boolean)public boolean getNonMatchingIndexScan()
AccessPath
getNonMatchingIndexScan in interface AccessPathAccessPath.getNonMatchingIndexScan()public void setJoinStrategy(JoinStrategy joinStrategy)
AccessPath
setJoinStrategy in interface AccessPathjoinStrategy - The best join strategyAccessPath.setJoinStrategy(org.apache.derby.iapi.sql.compile.JoinStrategy)public JoinStrategy getJoinStrategy()
AccessPath
getJoinStrategy in interface AccessPathAccessPath.getJoinStrategy()public void setLockMode(int lockMode)
AccessPath
setLockMode in interface AccessPathAccessPath.setLockMode(int)public int getLockMode()
AccessPath
getLockMode in interface AccessPathAccessPath.getLockMode()public void copy(AccessPath copyFrom)
AccessPath
copy in interface AccessPathAccessPath.copy(org.apache.derby.iapi.sql.compile.AccessPath)public Optimizer getOptimizer()
AccessPath
getOptimizer in interface AccessPathAccessPath.getOptimizer()public java.lang.String toString()
toString in class java.lang.Object
public void initializeAccessPathName(DataDictionary dd,
TableDescriptor td)
throws StandardException
AccessPath
initializeAccessPathName in interface AccessPathdd - Datadictionary.td - TableDescriptor of the base table.
StandardException - on error.AccessPath.initializeAccessPathName(org.apache.derby.iapi.sql.dictionary.DataDictionary, org.apache.derby.iapi.sql.dictionary.TableDescriptor)
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||