Package net.ontopia.topicmaps.query.impl.utils
package net.ontopia.topicmaps.query.impl.utils
Code shared between query implementations.
-
ClassDescriptionINTERNAL.INTERNAL: Expected input is a map with arbitrary keys and values of Object[] type.INTERNAL:INTERNAL: Expected input is an array of maps with arbitrary keys and values of Object[] type.INTERNAL: Used as a special, "magic", argument to predicates, inserted by the query optimizer to tell them to behave differently.INTERNAL: Prefetching utilityINTERNAL: Analyzes the types of variables in the query.INTERNAL: Used during traversal of queries to represent the context at any given point in the query.INTERNAL: This interface is implemented by QueryProcessorIFs.INTERNAL: A set implementation that wraps an QueryMatches instance and presents the values in one of the columns as a collection.INTERNAL: Various utility methods for working with QueryMatches objects.INTERNAL: An optimizer class that knows how to rewrite queries to equivalent, but more efficient queries.INTERNAL:Replaces simple recursive rules with a more efficient custom implementation that just wraps the recursive step.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.This optimizer adds RemoveDuplicatesPredicate on both sides of recursive calls within predicate rules.INTERNAL: Optimizes the query by reordering the clauses into the optimal order for evaluation.INTERNAL: Optimizes the query by inlining all rules which are simple aliases for a single predicate.INTERNAL: Optimizes queries that do lookup of occurrences by string value, then filter the string value by a prefix.Finds cases of conflicting variables and resolves them by replacing predicates which can never succeed with DynamicFailurePredicate.INTERNAL: Implemented by classes that know how to optimize tolog queries.INTERNAL: Used for testing and timing of queries.INTERNAL: Used to get a trace from a specific query into a writer for ease of display.PUBLIC: