Package net.ontopia.topicmaps.query.impl.utils

Code shared between query implementations.

See:
          Description

Interface Summary
QueryExecuterIF INTERNAL: This interface is implemented by QueryProcessorIFs.
QueryOptimizerIF INTERNAL: Implemented by classes that know how to optimize tolog queries.
QueryTraceListenerIF INTERNAL: Used for testing and timing of queries.
 

Class Summary
BindingContext INTERNAL.
CostEstimator  
CrossProduct INTERNAL: Expected input is a map with arbitrary keys and values of Object[] type.
HierarchyWalkerRulePredicate INTERNAL:
MultiCrossProduct INTERNAL: Expected input is an array of maps with arbitrary keys and values of Object[] type.
PredicateDrivenCostEstimator  
PredicateOptions INTERNAL: Used as a special, "magic", argument to predicates, inserted by the query optimizer to tell them to behave differently.
PredicateSignature  
Prefetcher INTERNAL: Prefetching utility
QueryAnalyzer INTERNAL: Analyzes the types of variables in the query.
QueryContext INTERNAL: Used during traversal of queries to represent the context at any given point in the query.
QueryMatchesCollection INTERNAL: A set implementation that wraps an QueryMatches instance and presents the values in one of the columns as a collection.
QueryMatchesUtils INTERNAL: Various utility methods for working with QueryMatches objects.
QueryOptimizer INTERNAL: An optimizer class that knows how to rewrite queries to equivalent, but more efficient queries.
QueryOptimizer.AbstractQueryOptimizer  
QueryOptimizer.AddTypeToRolePlayer INTERNAL:
QueryOptimizer.HierarchyWalker Replaces simple recursive rules with a more efficient custom implementation that just wraps the recursive step.
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.
QueryOptimizer.PumpClause  
QueryOptimizer.PumpPredicate  
QueryOptimizer.RecursivePruner This optimizer adds RemoveDuplicatesPredicate on both sides of recursive calls within predicate rules.
QueryOptimizer.Reorderer INTERNAL: Optimizes the query by reordering the clauses into the optimal order for evaluation.
QueryOptimizer.RuleInliner INTERNAL: Optimizes the query by inlining all rules which are simple aliases for a single predicate.
QueryOptimizer.StringPrefixOptimizer INTERNAL: Optimizes queries that do lookup of occurrences by string value, then filter the string value by a prefix.
QueryOptimizer.TypeConflictResolver Finds cases of conflicting variables and resolves them by replacing predicates which can never succeed with DynamicFailurePredicate.
SimpleCostEstimator  
SimpleQueryTracer INTERNAL: Used to get a trace from a specific query into a writer for ease of display.
TologQueryProcessorFactory PUBLIC:
 

Package net.ontopia.topicmaps.query.impl.utils Description

Code shared between query implementations.



Copyright © 2000-2012 Ontopia.