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.utils |
This package provides query utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected TologQuery |
ParsedQuery.query |
Modifier and Type | Method and Description |
---|---|
TologQuery |
QueryContext.getQuery() |
protected TologQuery |
QueryProcessor.parseQuery(String query,
DeclarationContextIF context) |
Modifier and Type | Method and Description |
---|---|
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) |
QueryResultIF |
QueryProcessor.execute(TologQuery query) |
QueryResultIF |
QueryProcessor.execute(TologQuery query,
Map arguments) |
QueryMatches |
QueryProcessor.reduce(TologQuery query,
QueryMatches matches)
INTERNAL: Projects the query results onto the set of variables specified in
the 'select' clause.
|
void |
QueryProcessor.sort(TologQuery query,
QueryMatches matches)
INTERNAL: Sorts the query result as requested.
|
Constructor and Description |
---|
ParsedQuery(QueryProcessor processor,
TologQuery query) |
QueryContext(TopicMapIF topicmap,
TologQuery query,
Map arguments,
TologOptions options) |
Modifier and Type | Field and Description |
---|---|
protected TologQuery |
QueryBuilder.query |
protected TologQuery |
BasicQueryComponent.query |
protected TologQuery |
BasicCountComponent.query |
protected TologQuery |
BasicSortComponent.query |
protected TologQuery |
ParsedQuery.query |
protected TologQuery |
BasicReduceComponent.query |
Modifier and Type | Method and Description |
---|---|
protected void |
ParsedQuery.compileQuery(QueryBuilder builder,
TologQuery query) |
protected boolean |
ParsedQuery.isOrderableTypes(TologQuery query) |
Constructor and Description |
---|
BasicCountComponent(TologQuery query,
QueryProcessor qproc) |
BasicQueryComponent(TologQuery query,
List clauses,
QueryProcessor qproc) |
BasicReduceComponent(TologQuery query,
QueryProcessor qproc) |
BasicSortComponent(TologQuery query,
QueryProcessor qproc) |
ParsedQuery(QueryProcessor rprocessor,
QueryProcessor bprocessor,
TologQuery query) |
Modifier and Type | Method and Description |
---|---|
TologQuery |
QueryOptimizer.optimize(TologQuery query) |
Modifier and Type | Method and Description |
---|---|
static BindingContext |
QueryAnalyzer.analyzeTypes(TologQuery query) |
QueryResultIF |
QueryExecuterIF.execute(TologQuery query)
INTERNAL: Executes the query, returning the results.
|
static QueryOptimizer |
QueryOptimizer.getOptimizer(TologQuery query)
INTERNAL: Get hold of an query optimizer instance.
|
TologQuery |
QueryOptimizer.optimize(TologQuery query) |
void |
QueryOptimizer.AbstractQueryOptimizer.optimize(TologQuery query,
QueryContext context) |
void |
QueryOptimizer.StringPrefixOptimizer.optimize(TologQuery query,
QueryContext context) |
void |
QueryOptimizer.AddTypeToRolePlayer.optimize(TologQuery query,
QueryContext context) |
void |
QueryOptimizer.NextPreviousOptimizer.optimize(TologQuery query,
QueryContext context) |
void |
QueryOptimizerIF.optimize(TologQuery query,
QueryContext context) |
static void |
QueryAnalyzer.verifyParameters(TologQuery query,
Map arguments)
Verifies that all used parameters are specified and that they are
of the correct types.
|
Constructor and Description |
---|
QueryContext(TologQuery query) |
QueryContext(TologQuery query,
ParsedRule rule) |
Modifier and Type | Field and Description |
---|---|
protected TologQuery |
ModificationStatement.query |
Modifier and Type | Method and Description |
---|---|
TologQuery |
ModificationStatement.getEmbeddedQuery() |
TologQuery |
TologParser.parseQuery(Reader queryReader)
Returns a parsed SELECT statement.
|
TologQuery |
TologParser.parseQuery(String query)
Returns a parsed SELECT statement.
|
Modifier and Type | Method and Description |
---|---|
static void |
TologSpy.recordExecute(TologQuery query,
long start,
long end)
INTERNAL: Records data about a query.
|