public abstract class QueryEvaluator extends ConsoleCommand
Constructor and Description |
---|
QueryEvaluator(ConsoleIO consoleIO,
ConsoleState state,
ConsoleParameters parameters)
Deprecated.
|
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
|
convertParams, execute, getConsoleIO, getConsoleState, getHelpLong, getHelpShort
@Deprecated public QueryEvaluator(ConsoleIO consoleIO, ConsoleState state, ConsoleParameters parameters)
consoleIO
- state
- parameters
- 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-2019 Eclipse Foundation. All Rights Reserved.