Package | Description |
---|---|
net.ontopia.topicmaps.query.impl.utils |
Code shared between query implementations.
|
Modifier and Type | Class and Description |
---|---|
static class |
QueryOptimizer.AbstractQueryOptimizer |
static class |
QueryOptimizer.AddTypeToRolePlayer
INTERNAL:
|
static class |
QueryOptimizer.HierarchyWalker
Replaces simple recursive rules with a more efficient custom
implementation that just wraps the recursive step.
|
static class |
QueryOptimizer.NextPreviousOptimizer
INTERNAL: Optimizes queries that look for the next or the
previous value in a sequence from a given start value to not load
all values and then do it the hard way, but instead to use a
sorted index.
|
static class |
QueryOptimizer.RecursivePruner
This optimizer adds RemoveDuplicatesPredicate on both sides of
recursive calls within predicate rules.
|
static class |
QueryOptimizer.Reorderer
INTERNAL: Optimizes the query by reordering the clauses into the
optimal order for evaluation.
|
static class |
QueryOptimizer.RuleInliner
INTERNAL: Optimizes the query by inlining all rules which are simple
aliases for a single predicate.
|
static class |
QueryOptimizer.StringPrefixOptimizer
INTERNAL: Optimizes queries that do lookup of occurrences by
string value, then filter the string value by a prefix.
|
static class |
QueryOptimizer.TypeConflictResolver
Finds cases of conflicting variables and resolves them by
replacing predicates which can never succeed with
DynamicFailurePredicate.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryOptimizer.addOptimizer(QueryOptimizerIF optimizer) |