| Modifier and Type | Field and Description |
|---|---|
| private String | |
| pack-priv ConglomerateDescriptor | |
| private CostEstimate | |
| pack-priv boolean | |
| pack-priv JoinStrategy | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv Optimizer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | copy(AccessPath copyFrom)
Implements org. Copy all information from the given AccessPath to this one. |
| public ConglomerateDescriptor | getConglomerateDescriptor()
Implements org. Get whatever was last set as the conglomerate descriptor. |
| public CostEstimate | getCostEstimate()
Implements org. Get the cost estimate for this AccessPath. |
| public boolean | getCoveringIndexScan()
Implements org. Return whether or not the optimizer is considering a covering index scan on this AccessPath. |
| public JoinStrategy | getJoinStrategy()
Implements org. Get the join strategy, as set by setJoinStrategy(). |
| public int | getLockMode()
Implements org. Get the lock mode, as last set in setLockMode(). |
| public boolean | getNonMatchingIndexScan()
Implements org. Return whether or not the optimizer is considering a non-matching index scan on this AccessPath. |
| public Optimizer | getOptimizer()
Implements org. Get the optimizer associated with this access path. |
| public void | initializeAccessPathName(DataDictionary
Datadictionary. dd, TableDescriptor TableDescriptor of the base table. td)Implements org. Sets the "name" of the access path. |
| public void | setConglomerateDescriptor(ConglomerateDescriptor
A ConglomerateDescriptor cd)Implements org. Set the conglomerate descriptor for this access path. |
| public void | setCostEstimate(CostEstimate costEstimate)
Implements org. Set the given cost estimate in this AccessPath. |
| public void | setCoveringIndexScan(boolean coveringIndexScan)
Implements org. Set whether or not to consider a covering index scan on the optimizable. |
| public void | setJoinStrategy(JoinStrategy
The best join strategy joinStrategy)Implements org. Remember the given join strategy |
| public void | setLockMode(int lockMode)
Implements org. Set the lock mode |
| public void | setNonMatchingIndexScan(boolean nonMatchingIndexScan)
Implements org. Set whether or not to consider a non-matching index scan on this AccessPath. |
| public String |
| accessPathName | back to summary |
|---|---|
| private String accessPathName | |
| cd | back to summary |
|---|---|
| pack-priv ConglomerateDescriptor cd | |
| costEstimate | back to summary |
|---|---|
| private CostEstimate costEstimate | |
| coveringIndexScan | back to summary |
|---|---|
| pack-priv boolean coveringIndexScan | |
| joinStrategy | back to summary |
|---|---|
| pack-priv JoinStrategy joinStrategy | |
| lockMode | back to summary |
|---|---|
| pack-priv int lockMode | |
| nonMatchingIndexScan | back to summary |
|---|---|
| pack-priv boolean nonMatchingIndexScan | |
| optimizer | back to summary |
|---|---|
| pack-priv Optimizer optimizer | |
| AccessPathImpl | back to summary |
|---|---|
| pack-priv AccessPathImpl(Optimizer optimizer) | |
| copy | back to summary |
|---|---|
| public void copy(AccessPath copyFrom) Implements org. Doc from org. Copy all information from the given AccessPath to this one.
| |
| getConglomerateDescriptor | back to summary |
|---|---|
| public ConglomerateDescriptor getConglomerateDescriptor() Implements org. Doc from org. Get whatever was last set as the conglomerate descriptor. Returns null if nothing was set since the last call to startOptimizing()
| |
| getCostEstimate | back to summary |
|---|---|
| public CostEstimate getCostEstimate() Implements org. Doc from org. Get the cost estimate for this AccessPath. This is the last one set by setCostEstimate.
| |
| getCoveringIndexScan | back to summary |
|---|---|
| public boolean getCoveringIndexScan() Implements org. Doc from org. Return whether or not the optimizer is considering a covering index scan on this AccessPath.
| |
| getJoinStrategy | back to summary |
|---|---|
| public JoinStrategy getJoinStrategy() Implements org. Doc from org. Get the join strategy, as set by setJoinStrategy().
| |
| getLockMode | back to summary |
|---|---|
| public int getLockMode() Implements org. Doc from org. Get the lock mode, as last set in setLockMode().
| |
| getNonMatchingIndexScan | back to summary |
|---|---|
| public boolean getNonMatchingIndexScan() Implements org. Doc from org. Return whether or not the optimizer is considering a non-matching index scan on this AccessPath. We expect to call this during generation, after access path selection is complete.
| |
| getOptimizer | back to summary |
|---|---|
| public Optimizer getOptimizer() Implements org. Doc from org. Get the optimizer associated with this access path.
| |
| initializeAccessPathName | back to summary |
|---|---|
| public void initializeAccessPathName(DataDictionary dd, TableDescriptor td) throws StandardException Implements org. Doc from org. 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. This is called only for base tables.
| |
| setConglomerateDescriptor | back to summary |
|---|---|
| public void setConglomerateDescriptor(ConglomerateDescriptor cd) Implements org. Doc from org. Set the conglomerate descriptor for this access path.
| |
| setCostEstimate | back to summary |
|---|---|
| public void setCostEstimate(CostEstimate costEstimate) Implements org. Doc from org. Set the given cost estimate in this AccessPath. Generally, this will be the CostEstimate for the plan currently under consideration.
| |
| setCoveringIndexScan | back to summary |
|---|---|
| public void setCoveringIndexScan(boolean coveringIndexScan) Implements org. Doc from org. Set whether or not to consider a covering index scan on the optimizable.
| |
| setJoinStrategy | back to summary |
|---|---|
| public void setJoinStrategy(JoinStrategy joinStrategy) Implements org. Doc from org. Remember the given join strategy
| |
| setLockMode | back to summary |
|---|---|
| public void setLockMode(int lockMode) Implements org. Doc from org. Set the lock mode
| |
| setNonMatchingIndexScan | back to summary |
|---|---|
| public void setNonMatchingIndexScan(boolean nonMatchingIndexScan) Implements org. Doc from org. Set whether or not to consider a non-matching index scan on this AccessPath.
| |
| 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- | |