Uses of Class
net.ontopia.topicmaps.query.impl.basic.QueryMatches

Packages that use QueryMatches
net.ontopia.topicmaps.query.impl.basic Contains the in-memory implementation of the query language. 
net.ontopia.topicmaps.query.impl.rdbms Contains the rdbms implementation of the query language. 
net.ontopia.topicmaps.query.impl.utils Code shared between query implementations. 
net.ontopia.topicmaps.query.parser Contains the code that parses tolog queries. 
net.ontopia.topicmaps.query.spi Provides a set of service provider interfaces for adding new predicates to the tolog query language. 
 

Uses of QueryMatches in net.ontopia.topicmaps.query.impl.basic
 

Methods in net.ontopia.topicmaps.query.impl.basic that return QueryMatches
static QueryMatches PredicateUtils.collectionToOne(QueryMatches matches, java.lang.Object[] objects, int fromix, int toix, int operation)
          Given a collection of objects, produce a single new object from each of them and put it into the toix column.
 QueryMatches QueryProcessor.count(TologQuery query, QueryMatches matches)
          INTERNAL: Replaces count($A) variables by their relevant counts.
 QueryMatches QueryProcessor.createInitialMatches(TologQuery query, java.util.Collection items, java.util.Map arguments)
           
 QueryMatches QueryProcessor.createInitialMatches(TologQuery query, java.util.Map arguments)
           
protected  QueryMatches TopicMapPredicate.fillIn(QueryMatches matches, int tmix)
           
protected  QueryMatches BaseLocatorPredicate.fillIn(QueryMatches matches, int locix)
           
 QueryMatches BaseLocatorPredicate.filter(QueryMatches matches, int locix)
           
static QueryMatches PredicateUtils.filter(QueryMatches matches, int ix1, int ix2, java.lang.Class class1, java.lang.Class class2, int operation)
           
protected  QueryMatches InPredicate.filter(QueryMatches matches, int ix1, java.util.Set values)
           
static QueryMatches PredicateUtils.filterClass(QueryMatches matches, int ix1, java.lang.Class klass)
          Filters a result set so that only rows where the object in a specific column is an instance of a specific class are accepted.
static QueryMatches PredicateUtils.generateFromCollection(QueryMatches matches, int fromix, int toix, java.util.Collection startset, int operation)
          Assuming both columns are empty, iterate over a collection of start values, binding the first column to the start value, and the second column to each object in a collection generated from the start value.
 QueryMatches QueryMatches.merge(int[] intspec, QueryMatches extmatches, int[] extspec, int[] equalpairs)
          INTERNAL: Merges this match table (from inside a rule) with another match table (from the calling context), producing a new set of matches (corresponding to the result of the rule, as viewed from the outside).
static QueryMatches PredicateUtils.objectToMany(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation, IndexIF index)
           
static QueryMatches PredicateUtils.objectToMany(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation, IndexIF index1, IndexIF index2)
           
static QueryMatches PredicateUtils.objectToOne(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation)
           
 QueryMatches QueryProcessor.reduce(TologQuery query, QueryMatches matches)
          INTERNAL: Projects the query results onto the set of variables specified in the 'select' clause.
 QueryMatches QueryMatches.removeDuplicates()
           
static QueryMatches AbstractQueryProcessor.satisfy(java.util.List clauses, QueryMatches result)
          INTERNAL: Takes the query parameters and produces the complete list of matches.
 QueryMatches VariantPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ValuePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ValueLikePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TypePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicNamePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicMapPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches SubjectLocatorPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches SubjectIdentifierPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches StringModule.StartsWithPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches StringModule.EndsWithPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ScopePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches RulePredicate.satisfy(QueryMatches extmatches, java.lang.Object[] extarguments)
           
 QueryMatches RolePlayerPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ResourcePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches RemoveDuplicatesPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ReifiesPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches OccurrencePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ObjectIdPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches NotEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches NamePredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 QueryMatches LessThanPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches LessThanEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches JavaSearcherPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ItemIdentifierPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches InPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches GreaterThanPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches GreaterThanEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches EqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicOccurrencePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicFailurePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicAssociationPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DatatypePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches CoalescePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches BasicPredicateIF.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 QueryMatches BaseLocatorPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AssociationRolePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AssociationPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AbstractInstanceOfPredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 

Methods in net.ontopia.topicmaps.query.impl.basic with parameters of type QueryMatches
 void QueryMatches.add(QueryMatches extra)
          INTERNAL: Adds all the matches in the given table to this table.
protected  void QueryMatches.addNonRedundant(QueryMatches matches)
          INTERNAL: Adds all rows which do not already exist.
static QueryMatches PredicateUtils.collectionToOne(QueryMatches matches, java.lang.Object[] objects, int fromix, int toix, int operation)
          Given a collection of objects, produce a single new object from each of them and put it into the toix column.
 QueryMatches QueryProcessor.count(TologQuery query, QueryMatches matches)
          INTERNAL: Replaces count($A) variables by their relevant counts.
static void QueryTracer.enter(BasicPredicateIF predicate, AbstractClause clause, QueryMatches input)
           
 void QueryTracer.TracePrinter.enter(BasicPredicateIF predicate, AbstractClause clause, QueryMatches input)
           
static void QueryTracer.enter(OrClause clause, QueryMatches input)
           
 void QueryTracer.TracePrinter.enter(OrClause clause, QueryMatches input)
           
static void QueryTracer.enterSelect(QueryMatches result)
           
 void QueryTracer.TracePrinter.enterSelect(QueryMatches result)
           
protected  QueryMatches TopicMapPredicate.fillIn(QueryMatches matches, int tmix)
           
protected  QueryMatches BaseLocatorPredicate.fillIn(QueryMatches matches, int locix)
           
 QueryMatches BaseLocatorPredicate.filter(QueryMatches matches, int locix)
           
static QueryMatches PredicateUtils.filter(QueryMatches matches, int ix1, int ix2, java.lang.Class class1, java.lang.Class class2, int operation)
           
protected  QueryMatches InPredicate.filter(QueryMatches matches, int ix1, java.util.Set values)
           
static QueryMatches PredicateUtils.filterClass(QueryMatches matches, int ix1, java.lang.Class klass)
          Filters a result set so that only rows where the object in a specific column is an instance of a specific class are accepted.
static QueryMatches PredicateUtils.generateFromCollection(QueryMatches matches, int fromix, int toix, java.util.Collection startset, int operation)
          Assuming both columns are empty, iterate over a collection of start values, binding the first column to the start value, and the second column to each object in a collection generated from the start value.
protected  net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate.ArgumentPair[] DynamicAssociationPredicate.getBoundArguments(QueryMatches matches, java.lang.Object[] arguments, int boundarg)
           
 int[][] QueryMatches.getTranslationSpec(java.lang.Object[] intarguments, QueryMatches extmatches, java.lang.Object[] extarguments)
          INTERNAL: Computes the translation specification array, which gives the connection between this and the other match table.
protected  net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate.ArgumentPair[] DynamicAssociationPredicate.getUnboundArguments(QueryMatches matches, java.lang.Object[] arguments)
           
static void QueryTracer.leave(QueryMatches result)
           
 void QueryTracer.TracePrinter.leave(QueryMatches result)
           
static void QueryTracer.leaveSelect(QueryMatches result)
           
 void QueryTracer.TracePrinter.leaveSelect(QueryMatches result)
           
 QueryMatches QueryMatches.merge(int[] intspec, QueryMatches extmatches, int[] extspec, int[] equalpairs)
          INTERNAL: Merges this match table (from inside a rule) with another match table (from the calling context), producing a new set of matches (corresponding to the result of the rule, as viewed from the outside).
static QueryMatches PredicateUtils.objectToMany(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation, IndexIF index)
           
static QueryMatches PredicateUtils.objectToMany(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation, IndexIF index1, IndexIF index2)
           
static QueryMatches PredicateUtils.objectToOne(QueryMatches matches, int fromix, int toix, java.lang.Class fromclass, int operation)
           
protected  void ResourcePredicate.prefetchResource(QueryMatches matches, java.lang.Object[] arguments, int objix)
           
protected  void ScopePredicate.prefetchScope(QueryMatches matches, java.lang.Object[] arguments, int scopedix)
           
protected  void ItemIdentifierPredicate.prefetchSources(QueryMatches matches, java.lang.Object[] arguments, int objix)
           
protected  void TypePredicate.prefetchType(QueryMatches matches, java.lang.Object[] arguments, int instix)
           
protected  void ValuePredicate.prefetchValue(QueryMatches matches, java.lang.Object[] arguments, int objix)
           
 QueryMatches QueryProcessor.reduce(TologQuery query, QueryMatches matches)
          INTERNAL: Projects the query results onto the set of variables specified in the 'select' clause.
protected  void QueryMatches.remove(QueryMatches matches)
          INTERNAL: Removes the rows which have matching counterparts in the argument.
static QueryMatches AbstractQueryProcessor.satisfy(java.util.List clauses, QueryMatches result)
          INTERNAL: Takes the query parameters and produces the complete list of matches.
 QueryMatches VariantPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ValuePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ValueLikePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TypePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicNamePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches TopicMapPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches SubjectLocatorPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches SubjectIdentifierPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches StringModule.StartsWithPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches StringModule.EndsWithPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ScopePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches RulePredicate.satisfy(QueryMatches extmatches, java.lang.Object[] extarguments)
           
 QueryMatches RolePlayerPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ResourcePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches RemoveDuplicatesPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ReifiesPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches OccurrencePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ObjectIdPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches NotEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches NamePredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 QueryMatches LessThanPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches LessThanEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches JavaSearcherPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches ItemIdentifierPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches InPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches GreaterThanPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches GreaterThanEqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches EqualsPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicOccurrencePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicFailurePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DynamicAssociationPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches DatatypePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches CoalescePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches BasicPredicateIF.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 QueryMatches BaseLocatorPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AssociationRolePredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AssociationPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 QueryMatches AbstractInstanceOfPredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 void QueryProcessor.sort(TologQuery query, QueryMatches matches)
          INTERNAL: Sorts the query result as requested.
static void QueryTracer.trace(java.lang.String msg, QueryMatches matches)
           
 void QueryMatches.translate(int[] fromCols, QueryMatches toQM, int[] toCols)
          INTERNAL: Translates matches in this table into corresponding matches in the other.
 

Constructors in net.ontopia.topicmaps.query.impl.basic with parameters of type QueryMatches
QueryMatches(QueryMatches matches)
          INTERNAL: Creates a new (empty) matches object with the same column definitions as the QueryMatches object passed in the parameter.
QueryResult(QueryMatches matches)
           
QueryResult(QueryMatches matches, int limit, int offset)
           
 

Uses of QueryMatches in net.ontopia.topicmaps.query.impl.rdbms
 

Methods in net.ontopia.topicmaps.query.impl.rdbms that return QueryMatches
protected  QueryMatches ParsedQuery.prepareQueryMatches(java.util.Map arguments)
           
 QueryMatches QueryComponentIF.satisfy(QueryMatches matches, java.util.Map arguments)
          INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance.
 QueryMatches JDOQueryComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicSortComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicReduceComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicQueryComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicCountComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches JDOBasicPredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 

Methods in net.ontopia.topicmaps.query.impl.rdbms with parameters of type QueryMatches
 QueryMatches QueryComponentIF.satisfy(QueryMatches matches, java.util.Map arguments)
          INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance.
 QueryMatches JDOQueryComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicSortComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicReduceComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicQueryComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches BasicCountComponent.satisfy(QueryMatches matches, java.util.Map arguments)
           
 QueryMatches JDOBasicPredicate.satisfy(QueryMatches result, java.lang.Object[] arguments)
           
 

Uses of QueryMatches in net.ontopia.topicmaps.query.impl.utils
 

Fields in net.ontopia.topicmaps.query.impl.utils declared as QueryMatches
protected  QueryMatches QueryMatchesCollection.matches
           
 

Methods in net.ontopia.topicmaps.query.impl.utils that return QueryMatches
static QueryMatches QueryMatchesUtils.createInitialMatches(QueryContext context, java.util.Collection columnDefs)
           
 QueryMatches QueryOptimizer.PumpPredicate.satisfy(QueryMatches input, java.lang.Object[] arguments)
           
 QueryMatches HierarchyWalkerRulePredicate.satisfy(QueryMatches extmatches, java.lang.Object[] extarguments)
           
 

Methods in net.ontopia.topicmaps.query.impl.utils with parameters of type QueryMatches
 void QueryTraceListenerIF.enter(BasicPredicateIF predicate, AbstractClause clause, QueryMatches input)
           
 void QueryTraceListenerIF.enter(OrClause clause, QueryMatches input)
           
 void QueryTraceListenerIF.enterSelect(QueryMatches result)
           
 void QueryTraceListenerIF.leave(QueryMatches result)
           
 void QueryTraceListenerIF.leaveSelect(QueryMatches result)
           
static boolean Prefetcher.prefetch(TopicMapIF tm, QueryMatches matches, int qmidx, int type, int[] fields, boolean[] traverse)
           
static boolean Prefetcher.prefetch(TopicMapIF tm, QueryMatches matches, int qmidx, int type, int field, boolean traverse)
           
static boolean Prefetcher.prefetchRolesByType(TopicMapIF tm, QueryMatches matches, int qmidx, TopicIF rtype, int[] fields, boolean[] traverse)
           
static boolean Prefetcher.prefetchRolesByType(TopicMapIF tm, QueryMatches matches, int qmidx, TopicIF rtype, TopicIF atype, int[] fields, boolean[] traverse)
           
 QueryMatches QueryOptimizer.PumpPredicate.satisfy(QueryMatches input, java.lang.Object[] arguments)
           
 QueryMatches HierarchyWalkerRulePredicate.satisfy(QueryMatches extmatches, java.lang.Object[] extarguments)
           
 void PredicateSignature.verifyBound(QueryMatches matches, java.lang.Object[] arguments, PredicateIF predicate)
          INTERNAL: Verifies that arguments which are required to be bound actually are bound.
 

Constructors in net.ontopia.topicmaps.query.impl.utils with parameters of type QueryMatches
QueryMatchesCollection(QueryMatches matches, int colidx)
           
 

Uses of QueryMatches in net.ontopia.topicmaps.query.parser
 

Methods in net.ontopia.topicmaps.query.parser with parameters of type QueryMatches
protected  int ModificationFunctionStatement.doFunctionUpdates(QueryMatches matches)
           
 int UpdateStatement.doUpdates(QueryMatches matches)
           
abstract  int ModificationStatement.doUpdates(QueryMatches matches)
           
 int MergeStatement.doUpdates(QueryMatches matches)
           
 int InsertStatement.doUpdates(QueryMatches matches)
           
 int DeleteStatement.doUpdates(QueryMatches matches)
           
protected static int ModificationStatement.getIndex(java.lang.Object arg, QueryMatches matches)
           
 

Uses of QueryMatches in net.ontopia.topicmaps.query.spi
 

Methods in net.ontopia.topicmaps.query.spi that return QueryMatches
 QueryMatches ProcessPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
abstract  QueryMatches JavaPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
          INTERNAL: Internal machinery.
 QueryMatches FilterPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 

Methods in net.ontopia.topicmaps.query.spi with parameters of type QueryMatches
 QueryMatches ProcessPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
abstract  QueryMatches JavaPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
          INTERNAL: Internal machinery.
 QueryMatches FilterPredicate.satisfy(QueryMatches matches, java.lang.Object[] arguments)
           
 



Copyright © 2000-2012 Ontopia.