public class Sparql extends QueryEvaluator
LOGGER
Constructor and Description |
---|
Sparql(TupleAndGraphQueryEvaluator evaluator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addQueryPrefixes(StringBuffer result,
Collection<Namespace> namespaces)
Add namespace prefixes to query
|
String |
getHelpLong()
Get long description
|
String |
getHelpShort()
Get short description, small enough to fit on one console row
|
String |
getName()
Get the name of the command
|
protected boolean |
hasQueryPrefixes(String qry)
Check if query string already contains query prefixes
|
executeQuery, usesSettings
askProceed, execute, getConsoleIO, getConsoleSettings, getConsoleState, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
public Sparql(TupleAndGraphQueryEvaluator evaluator)
evaluator
- public String getName()
Help
public String getHelpShort()
ConsoleCommand
getHelpShort
in interface Help
getHelpShort
in class ConsoleCommand
public String getHelpLong()
ConsoleCommand
getHelpLong
in interface Help
getHelpLong
in class ConsoleCommand
protected boolean hasQueryPrefixes(String qry)
QueryEvaluator
hasQueryPrefixes
in class QueryEvaluator
qry
- query stringprotected void addQueryPrefixes(StringBuffer result, Collection<Namespace> namespaces)
QueryEvaluator
addQueryPrefixes
in class QueryEvaluator
namespaces
- collection of known namespacesCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.