public abstract class QueryEvaluator extends ConsoleCommand
LOGGER| 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
|
String[] |
usesSettings()
Return the names of the settings used.
|
askProceed, execute, getConsoleIO, getConsoleSettings, getConsoleState, getHelpLong, getHelpShort, write, writeError, writeError, writeInfo, writeln, writeUnopenedErrorpublic 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 namespacespublic String[] usesSettings()
CommandusesSettings in interface CommandusesSettings in class ConsoleCommandCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.