Uses of Class
net.ontopia.topicmaps.query.impl.basic.QueryMatches
-
Packages that use QueryMatches Package Description 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
Fields in net.ontopia.topicmaps.query.impl.basic declared as QueryMatches Modifier and Type Field Description protected QueryMatches
QueryResult. matches
Methods in net.ontopia.topicmaps.query.impl.basic that return QueryMatches Modifier and Type Method Description static QueryMatches
PredicateUtils. collectionToOne(QueryMatches matches, 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, Collection items, Map arguments)
QueryMatches
QueryProcessor. createInitialMatches(TologQuery query, Map arguments)
protected QueryMatches
BaseLocatorPredicate. fillIn(QueryMatches matches, int locix)
protected QueryMatches
TopicMapPredicate. fillIn(QueryMatches matches, int tmix)
QueryMatches
BaseLocatorPredicate. filter(QueryMatches matches, int locix)
protected QueryMatches
InPredicate. filter(QueryMatches matches, int ix1, Set values)
static QueryMatches
PredicateUtils. filter(QueryMatches matches, int ix1, int ix2, Class class1, Class class2, int operation)
static QueryMatches
PredicateUtils. filterClass(QueryMatches matches, int ix1, 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, 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, Class fromclass, int operation, IndexIF index)
static QueryMatches
PredicateUtils. objectToMany(QueryMatches matches, int fromix, int toix, Class fromclass, int operation, IndexIF index1, IndexIF index2)
static QueryMatches
PredicateUtils. objectToOne(QueryMatches matches, int fromix, int toix, 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()
QueryMatches
AbstractInstanceOfPredicate. satisfy(QueryMatches result, Object[] arguments)
static QueryMatches
AbstractQueryProcessor. satisfy(List clauses, QueryMatches result)
INTERNAL: Takes the query parameters and produces the complete list of matches.QueryMatches
AssociationPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
AssociationRolePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
BaseLocatorPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
BasicPredicateIF. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
CoalescePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DatatypePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicAssociationPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicFailurePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicOccurrencePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
EqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
GreaterThanEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
GreaterThanPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
InPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ItemIdentifierPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
JavaSearcherPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
LessThanEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
LessThanPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
NamePredicate. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
NotEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ObjectIdPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
OccurrencePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ReifiesPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RemoveDuplicatesPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ResourcePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RolePlayerPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RulePredicate. satisfy(QueryMatches extmatches, Object[] extarguments)
QueryMatches
ScopePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
StringModule.EndsWithPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
StringModule.StartsWithPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
SubjectIdentifierPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
SubjectLocatorPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicMapPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicNamePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TypePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ValueLikePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ValuePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
VariantPredicate. satisfy(QueryMatches matches, Object[] arguments)
Methods in net.ontopia.topicmaps.query.impl.basic with parameters of type QueryMatches Modifier and Type Method Description 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, 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)
static void
QueryTracer. enter(OrClause clause, QueryMatches input)
void
QueryTracer.TracePrinter. enter(BasicPredicateIF predicate, AbstractClause 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
BaseLocatorPredicate. fillIn(QueryMatches matches, int locix)
protected QueryMatches
TopicMapPredicate. fillIn(QueryMatches matches, int tmix)
QueryMatches
BaseLocatorPredicate. filter(QueryMatches matches, int locix)
protected QueryMatches
InPredicate. filter(QueryMatches matches, int ix1, Set values)
static QueryMatches
PredicateUtils. filter(QueryMatches matches, int ix1, int ix2, Class class1, Class class2, int operation)
static QueryMatches
PredicateUtils. filterClass(QueryMatches matches, int ix1, 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, 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 DynamicAssociationPredicate.ArgumentPair[]
DynamicAssociationPredicate. getBoundArguments(QueryMatches matches, Object[] arguments, int boundarg)
int[][]
QueryMatches. getTranslationSpec(Object[] intarguments, QueryMatches extmatches, Object[] extarguments)
INTERNAL: Computes the translation specification array, which gives the connection between this and the other match table.protected DynamicAssociationPredicate.ArgumentPair[]
DynamicAssociationPredicate. getUnboundArguments(QueryMatches matches, 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, Class fromclass, int operation, IndexIF index)
static QueryMatches
PredicateUtils. objectToMany(QueryMatches matches, int fromix, int toix, Class fromclass, int operation, IndexIF index1, IndexIF index2)
static QueryMatches
PredicateUtils. objectToOne(QueryMatches matches, int fromix, int toix, Class fromclass, int operation)
protected void
ResourcePredicate. prefetchResource(QueryMatches matches, Object[] arguments, int objix)
protected void
ScopePredicate. prefetchScope(QueryMatches matches, Object[] arguments, int scopedix)
protected void
ItemIdentifierPredicate. prefetchSources(QueryMatches matches, Object[] arguments, int objix)
protected void
TypePredicate. prefetchType(QueryMatches matches, Object[] arguments, int instix)
protected void
ValuePredicate. prefetchValue(QueryMatches matches, 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.QueryMatches
AbstractInstanceOfPredicate. satisfy(QueryMatches result, Object[] arguments)
static QueryMatches
AbstractQueryProcessor. satisfy(List clauses, QueryMatches result)
INTERNAL: Takes the query parameters and produces the complete list of matches.QueryMatches
AssociationPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
AssociationRolePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
BaseLocatorPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
BasicPredicateIF. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
CoalescePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DatatypePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicAssociationPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicFailurePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
DynamicOccurrencePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
EqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
GreaterThanEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
GreaterThanPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
InPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ItemIdentifierPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
JavaSearcherPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
LessThanEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
LessThanPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
NamePredicate. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
NotEqualsPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ObjectIdPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
OccurrencePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ReifiesPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RemoveDuplicatesPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ResourcePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RolePlayerPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
RulePredicate. satisfy(QueryMatches extmatches, Object[] extarguments)
QueryMatches
ScopePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
StringModule.EndsWithPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
StringModule.StartsWithPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
SubjectIdentifierPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
SubjectLocatorPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicMapPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicNamePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TopicPredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
TypePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ValueLikePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
ValuePredicate. satisfy(QueryMatches matches, Object[] arguments)
QueryMatches
VariantPredicate. satisfy(QueryMatches matches, Object[] arguments)
void
QueryProcessor. sort(TologQuery query, QueryMatches matches)
INTERNAL: Sorts the query result as requested.static void
QueryTracer. trace(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 Constructor Description 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 Modifier and Type Method Description protected QueryMatches
ParsedQuery. prepareQueryMatches(Map arguments)
QueryMatches
BasicCountComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicQueryComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicReduceComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicSortComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
JDOBasicPredicate. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
JDOQueryComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
QueryComponentIF. satisfy(QueryMatches matches, Map arguments)
INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance.Methods in net.ontopia.topicmaps.query.impl.rdbms with parameters of type QueryMatches Modifier and Type Method Description QueryMatches
BasicCountComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicQueryComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicReduceComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
BasicSortComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
JDOBasicPredicate. satisfy(QueryMatches result, Object[] arguments)
QueryMatches
JDOQueryComponent. satisfy(QueryMatches matches, Map arguments)
QueryMatches
QueryComponentIF. satisfy(QueryMatches matches, Map arguments)
INTERNAL: Processes the specified QueryMatches instance and produces a new QueryMatches instance based on information in the input instance. -
Uses of QueryMatches in net.ontopia.topicmaps.query.impl.utils
Fields in net.ontopia.topicmaps.query.impl.utils declared as QueryMatches Modifier and Type Field Description protected QueryMatches
QueryMatchesCollection. matches
Methods in net.ontopia.topicmaps.query.impl.utils that return QueryMatches Modifier and Type Method Description static QueryMatches
QueryMatchesUtils. createInitialMatches(QueryContext context, Collection columnDefs)
QueryMatches
HierarchyWalkerRulePredicate. satisfy(QueryMatches extmatches, Object[] extarguments)
QueryMatches
QueryOptimizer.PumpPredicate. satisfy(QueryMatches input, Object[] arguments)
Methods in net.ontopia.topicmaps.query.impl.utils with parameters of type QueryMatches Modifier and Type Method Description 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
HierarchyWalkerRulePredicate. satisfy(QueryMatches extmatches, Object[] extarguments)
QueryMatches
QueryOptimizer.PumpPredicate. satisfy(QueryMatches input, Object[] arguments)
void
PredicateSignature. verifyBound(QueryMatches matches, 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 Constructor Description 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 Modifier and Type Method Description protected int
ModificationFunctionStatement. doFunctionUpdates(QueryMatches matches)
int
DeleteStatement. doUpdates(QueryMatches matches)
int
InsertStatement. doUpdates(QueryMatches matches)
int
MergeStatement. doUpdates(QueryMatches matches)
abstract int
ModificationStatement. doUpdates(QueryMatches matches)
int
UpdateStatement. doUpdates(QueryMatches matches)
protected static int
ModificationStatement. getIndex(Object arg, QueryMatches matches)
-
Uses of QueryMatches in net.ontopia.topicmaps.query.spi
Methods in net.ontopia.topicmaps.query.spi that return QueryMatches Modifier and Type Method Description QueryMatches
FilterPredicate. satisfy(QueryMatches matches, Object[] arguments)
abstract QueryMatches
JavaPredicate. satisfy(QueryMatches matches, Object[] arguments)
INTERNAL: Internal machinery.QueryMatches
ProcessPredicate. satisfy(QueryMatches matches, Object[] arguments)
Methods in net.ontopia.topicmaps.query.spi with parameters of type QueryMatches Modifier and Type Method Description QueryMatches
FilterPredicate. satisfy(QueryMatches matches, Object[] arguments)
abstract QueryMatches
JavaPredicate. satisfy(QueryMatches matches, Object[] arguments)
INTERNAL: Internal machinery.QueryMatches
ProcessPredicate. satisfy(QueryMatches matches, Object[] arguments)
-