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
|
executeQueryconvertParams, execute, getConsoleIO, getConsoleState@Deprecated public Sparql(ConsoleIO consoleIO, ConsoleState state, ConsoleParameters params)
consoleIO - state - params - public Sparql(TupleAndGraphQueryEvaluator evaluator)
evaluator - public String getName()
Helppublic String getHelpShort()
ConsoleCommandgetHelpShort in interface HelpgetHelpShort in class ConsoleCommandpublic String getHelpLong()
ConsoleCommandgetHelpLong in interface HelpgetHelpLong in class ConsoleCommandprotected boolean hasQueryPrefixes(String qry)
QueryEvaluatorhasQueryPrefixes in class QueryEvaluatorqry - query stringprotected void addQueryPrefixes(StringBuffer result, Collection<Namespace> namespaces)
QueryEvaluatoraddQueryPrefixes in class QueryEvaluatornamespaces - collection of known namespacesCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.