|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.engine.commands.AxionQueryOptimizer
Axion Query Optimizer
| Constructor Summary | |
AxionQueryOptimizer()
|
|
| Method Summary | |
static Function |
createOneRootFunction(Set conditions)
|
static Set[] |
decomposeJoinConditionNodes(Set allConditionNodes)
|
static Set[] |
decomposeWhereConditionNodes(Set allConditionNodes)
|
static EqualFunction |
findColumnLiteralEqualFunction(TableIdentifier tid,
Set conditions)
find the equal function involving a column and literal This function then can be apply first to restrict the number of rows returned by an iterator. |
static ComparisonFunction |
findFirstEqualFunction(Set joinOnConditionNodes,
TableIdentifier tid,
Database db)
|
static ComparisonFunction |
findFirstFunctionUsingIndexedColumn(Set joinOnConditionNodes,
TableIdentifier tid,
Database db)
|
static Set |
flatConditionTree(Selectable tree)
flatten into an ANDed set |
static boolean |
onlyReferencesTable(TableIdentifier table,
Selectable node)
|
static Set |
processWhereTree(Selectable tree)
Decomposes the given WhereNodeinto a Setof nodes that were
originally joined by ANDs, and adds to this set predicates that are implied by the
original tree (for example, given A = 1 and A = B, we can
infer B = 1.) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AxionQueryOptimizer()
| Method Detail |
public static Function createOneRootFunction(Set conditions)
public static Set[] decomposeJoinConditionNodes(Set allConditionNodes)
public static Set[] decomposeWhereConditionNodes(Set allConditionNodes)
public static EqualFunction findColumnLiteralEqualFunction(TableIdentifier tid,
Set conditions)
conditions -
public static Set flatConditionTree(Selectable tree)
tree -
public static boolean onlyReferencesTable(TableIdentifier table,
Selectable node)
public static Set processWhereTree(Selectable tree)
throws AxionException
WhereNodeinto a Setof nodes that were
originally joined by ANDs, and adds to this set predicates that are implied by the
original tree (for example, given A = 1 and A = B, we can
infer B = 1.)
AxionException
public static ComparisonFunction findFirstFunctionUsingIndexedColumn(Set joinOnConditionNodes,
TableIdentifier tid,
Database db)
throws AxionException
AxionException
public static ComparisonFunction findFirstEqualFunction(Set joinOnConditionNodes,
TableIdentifier tid,
Database db)
throws AxionException
AxionException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||