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