public class Serql extends QueryEvaluator
LOGGER
Constructor and Description |
---|
Serql(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 query)
Check if query string already contains query prefixes
|
executeQuery, usesSettings
askProceed, execute, getConsoleIO, getConsoleSettings, getConsoleState, write, writeError, writeError, writeInfo, writeln, writeUnopenedError
public Serql(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 query)
QueryEvaluator
hasQueryPrefixes
in class QueryEvaluator
query
- query stringprotected void addQueryPrefixes(StringBuffer result, Collection<Namespace> namespaces)
QueryEvaluator
addQueryPrefixes
in class QueryEvaluator
namespaces
- collection of known namespacesCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.