Package | Description |
---|---|
net.ontopia.topicmaps.db2tm |
The implementation of and public API to the DB2TM module for
converting relational data (in CSV files or RDBMSs) to Topic Maps.
|
net.ontopia.topicmaps.nav2.core |
Provides interfaces for the Navigator Tag Libraries
and Framework.
|
net.ontopia.topicmaps.nav2.portlets.pojos | |
net.ontopia.topicmaps.nav2.taglibs.logic |
Logic tags, which define the execution context, modify the
context, and control the flow of execution.
|
net.ontopia.topicmaps.nav2.utils |
Provides utility classes for the Navigator Tag Libraries and
Framework.
|
net.ontopia.topicmaps.query.core |
Contains the interfaces through which interaction with query
processors, queries, and query results are done.
|
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.parser |
Contains the code that parses tolog queries.
|
net.ontopia.topicmaps.query.utils |
This package provides query utility classes.
|
net.ontopia.topicmaps.rest | |
ontopoly.conversion | |
ontopoly.model |
Modifier and Type | Field and Description |
---|---|
protected DeclarationContextIF |
Context.dc |
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
Context.getDeclarationContext() |
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
NavigatorPageIF.getDeclarationContext()
INTERNAL: Gets the tolog declaration context.
|
Modifier and Type | Method and Description |
---|---|
protected static DeclarationContextIF |
MenuUtils.optimisticParse(TopicMapIF tm,
String query)
Parse the given declaration-context-query for the given topic map.
|
Modifier and Type | Method and Description |
---|---|
void |
RelatedTopics.setTologContext(DeclarationContextIF tologctx)
PUBLIC: Passes in a tolog declaration context to be used when
parsing tolog queries.
|
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
ContextTag.getDeclarationContext() |
Modifier and Type | Method and Description |
---|---|
void |
ContextTag.setDeclarationContext(DeclarationContextIF declarationContext) |
Modifier and Type | Method and Description |
---|---|
static TMObjectIF |
NavigatorUtils.stringID2Object(TopicMapIF tm,
String s,
DeclarationContextIF context)
INTERNAL: Tries to convert a string which should contain a subject
identifier, XML ID, or object ID to a
TMObjectIF
object in the following order:
try to match a subject indicator (tm.getTopicBySubjectIdentifier)
try to match a source locator (tm.getObjectByItemIdentifier)
try to match a topic id (tm.getObjectById)
try to match a subject identifier with a prefix defined in the DeclarationContextIF
|
Modifier and Type | Method and Description |
---|---|
QueryResultIF |
QueryProcessorIF.execute(String query,
DeclarationContextIF context)
PUBLIC: Parses and executes the query in the given context,
returning the results.
|
QueryResultIF |
QueryProcessorIF.execute(String query,
Map<String,?> arguments,
DeclarationContextIF context)
PUBLIC: Parses and executes the query in the given context
binding the parameters in the query to the values given in the
'arguments' map, returning the results.
|
ParsedQueryIF |
QueryProcessorIF.parse(String query,
DeclarationContextIF context)
PUBLIC: Parses the query in the given context, returning an
object representing the result.
|
ParsedModificationStatementIF |
QueryProcessorIF.parseUpdate(String statement,
DeclarationContextIF context)
PUBLIC: Parses the update statement in the given context,
returning an object representing the result.
|
int |
QueryProcessorIF.update(String query,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration
context, returning the number of modified objects.
|
int |
QueryProcessorIF.update(String query,
Map<String,?> arguments,
DeclarationContextIF context)
PUBLIC: Runs the update statement in the given declaration
context with the given parameters, returning the number of
modified objects.
|
Modifier and Type | Method and Description |
---|---|
QueryResultIF |
QueryProcessor.execute(String query,
DeclarationContextIF context) |
QueryResultIF |
QueryProcessor.execute(String query,
Map arguments,
DeclarationContextIF context) |
ParsedQueryIF |
QueryProcessor.parse(String query,
DeclarationContextIF context) |
protected TologQuery |
QueryProcessor.parseQuery(String query,
DeclarationContextIF context) |
ParsedModificationStatementIF |
QueryProcessor.parseUpdate(String statement,
DeclarationContextIF context) |
protected ModificationStatement |
QueryProcessor.parseUpdateStatement(String statement,
DeclarationContextIF ctx) |
int |
QueryProcessor.update(String query,
DeclarationContextIF context) |
int |
QueryProcessor.update(String query,
Map<String,?> params,
DeclarationContextIF context) |
Modifier and Type | Method and Description |
---|---|
QueryResultIF |
QueryProcessor.execute(String query,
DeclarationContextIF context) |
QueryResultIF |
QueryProcessor.execute(String query,
Map arguments,
DeclarationContextIF context) |
ParsedQueryIF |
QueryProcessor.parse(String query,
DeclarationContextIF context) |
protected ParsedQuery |
QueryProcessor.parseQuery(String query,
DeclarationContextIF context) |
ParsedModificationStatementIF |
QueryProcessor.parseUpdate(String statement,
DeclarationContextIF context) |
void |
QueryProcessor.setContext(DeclarationContextIF context) |
int |
QueryProcessor.update(String query,
DeclarationContextIF context) |
int |
QueryProcessor.update(String query,
Map<String,?> arguments,
DeclarationContextIF context) |
Modifier and Type | Class and Description |
---|---|
class |
LocalParseContext
INTERNAL: Represents the local context in which a tolog query or
rule file is being parsed.
|
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
QueryWrapper.getDeclarationContext() |
static DeclarationContextIF |
QueryUtils.parseDeclarations(TopicMapIF topicmap,
String declarations)
PUBLIC: Parses a set of tolog declarations and returns an
object representing the resulting declaration context.
|
static DeclarationContextIF |
QueryUtils.parseDeclarations(TopicMapIF topicmap,
String declarations,
DeclarationContextIF context)
PUBLIC: Parses a set of tolog declarations in an existing
context, and returns an object representing the resulting nested
declaration context.
|
Modifier and Type | Method and Description |
---|---|
static DeclarationContextIF |
QueryUtils.parseDeclarations(TopicMapIF topicmap,
String declarations,
DeclarationContextIF context)
PUBLIC: Parses a set of tolog declarations in an existing
context, and returns an object representing the resulting nested
declaration context.
|
void |
QueryWrapper.setDeclarationContext(DeclarationContextIF context) |
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
OntopiaRestApplication.getDeclarationContext(TopicMapIF topicmap) |
Modifier and Type | Field and Description |
---|---|
protected DeclarationContextIF |
UpgradeBase.dc |
Modifier and Type | Method and Description |
---|---|
protected static void |
UpgradeBase.removeAssociations(String atype,
String[] rtypes,
QueryProcessorIF qp,
DeclarationContextIF dc) |
protected static void |
UpgradeBase.removeObjects(TopicMapIF topicMap,
DeclarationContextIF dc,
String removalQuery) |
protected static void |
UpgradeBase.translateAssociations(String atype1,
String[] rtypes1,
String atype2,
String[] rtypes2,
TopicMapIF tm,
LocatorIF base_on,
QueryProcessorIF qp,
DeclarationContextIF dc) |
Modifier and Type | Method and Description |
---|---|
DeclarationContextIF |
TopicMap.getDeclarationContext() |
Constructor and Description |
---|
QueryMapper(QueryProcessorIF processor,
DeclarationContextIF context) |