public abstract class QueryEvaluator extends ConsoleCommand
Constructor and Description |
---|
QueryEvaluator(TupleAndGraphQueryEvaluator evaluator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addQueryPrefixes(StringBuffer result,
Collection<Namespace> namespaces)
Add namespace prefixes to query
|
void |
executeQuery(String command,
String operation)
Execute a SPARQL or SERQL query, defaults to SPARQL
|
protected abstract boolean |
hasQueryPrefixes(String query)
Check if query string already contains query prefixes
|
execute, getConsoleIO, getConsoleState, getHelpLong, getHelpShort
public QueryEvaluator(TupleAndGraphQueryEvaluator evaluator)
evaluator
- protected abstract boolean hasQueryPrefixes(String query)
query
- query stringprotected abstract void addQueryPrefixes(StringBuffer result, Collection<Namespace> namespaces)
result
- namespaces
- collection of known namespacesCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.