FromList
public interface OptimizableList
Modifier and Type | Method | Description |
---|---|---|
Optimizable |
getOptimizable(int n) |
Return the nth Optimizable in the list.
|
void |
initAccessPaths(Optimizer optimizer) |
Init the access paths for these optimizables.
|
boolean |
legalJoinOrder(int numTablesInQuery) |
Tell whether the join order is legal.
|
boolean |
optimizeJoinOrder() |
Tell whether the join order should be optimized.
|
void |
reOrder(int[] joinOrder) |
Set the join order for this list of optimizables.
|
void |
setOptimizable(int n,
Optimizable optimizable) |
Set the nth Optimizable to the specified Optimizable.
|
int |
size() |
Return the number of Optimizables in the list.
|
boolean |
useStatistics() |
user can specify that s/he doesn't want statistics to be considered when
optimizing the query.
|
void |
verifyProperties(DataDictionary dDictionary) |
Verify that the Properties list with optimizer overrides, if specified, is valid
|
int size()
Optimizable getOptimizable(int n)
n
- "index" (0 based) into the list.void setOptimizable(int n, Optimizable optimizable)
n
- "index" (0 based) into the list.optimizable
- New nth Optimizable.void verifyProperties(DataDictionary dDictionary) throws StandardException
dDictionary
- The DataDictionary to use.StandardException
- Thrown on errorvoid reOrder(int[] joinOrder)
boolean useStatistics()
boolean optimizeJoinOrder()
boolean legalJoinOrder(int numTablesInQuery)
void initAccessPaths(Optimizer optimizer)
optimizer
- The optimizer being used.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.