Package | Description |
---|---|
org.eclipse.rdf4j.console.util | |
org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
org.eclipse.rdf4j.query.dawg |
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
|
org.eclipse.rdf4j.query.resultio | |
org.eclipse.rdf4j.query.resultio.binary | |
org.eclipse.rdf4j.query.resultio.helpers | |
org.eclipse.rdf4j.query.resultio.sparqljson |
A writer for the
SPARQL Query Results JSON Format
|
org.eclipse.rdf4j.query.resultio.sparqlxml |
Parsers and writers for the
SPARQL Query Results XML Format
|
org.eclipse.rdf4j.query.resultio.text | |
org.eclipse.rdf4j.query.resultio.text.csv | |
org.eclipse.rdf4j.query.resultio.text.tsv | |
org.eclipse.rdf4j.workbench.commands | |
org.eclipse.rdf4j.workbench.util |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleQueryResultWriter.endHeader() |
void |
ConsoleQueryResultWriter.handleBoolean(boolean value) |
void |
ConsoleQueryResultWriter.handleLinks(List<String> linkUrls) |
void |
ConsoleQueryResultWriter.handleNamespace(String prefix,
String uri) |
void |
ConsoleRDFWriter.handleNamespace(String prefix,
String uri) |
void |
ConsoleQueryResultWriter.handleStylesheet(String stylesheetUrl) |
void |
ConsoleQueryResultWriter.startDocument() |
void |
ConsoleQueryResultWriter.startHeader() |
Modifier and Type | Class and Description |
---|---|
class |
BooleanQueryResultHandlerException
An exception that can be thrown by an BooleanQueryResultHandler when it encounters an unrecoverable error.
|
class |
TupleQueryResultHandlerException
An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTupleQueryResultHandler.handleBoolean(boolean value) |
void |
QueryResultHandler.handleBoolean(boolean value)
Handles the specified boolean value.
|
void |
AbstractTupleQueryResultHandler.handleLinks(List<String> linkUrls) |
void |
QueryResultHandler.handleLinks(List<String> linkUrls)
Handles the links elements which are present in SPARQL Results JSON and SPARQL Results XML documents in the
header.
|
Modifier and Type | Method and Description |
---|---|
void |
DAWGTestResultSetWriter.handleBoolean(boolean value) |
void |
DAWGTestResultSetWriter.handleLinks(List<String> linkUrls) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractQueryResultIOTest.assertQueryResultsEqual(TupleQueryResult expected,
TupleQueryResult output) |
protected void |
AbstractQueryResultIOTest.doBooleanLinks(BooleanQueryResultFormat format,
boolean input,
List<String> links) |
protected void |
AbstractQueryResultIOTest.doBooleanLinksAndStylesheet(BooleanQueryResultFormat format,
boolean input,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doBooleanLinksAndStylesheetAndNamespaces(BooleanQueryResultFormat format,
boolean input,
List<String> links,
String stylesheetUrl,
Map<String,String> namespaces) |
protected void |
AbstractQueryResultIOTest.doBooleanLinksOnly(BooleanQueryResultFormat format,
boolean input,
List<String> links) |
protected void |
AbstractQueryResultIOTest.doBooleanNoLinks(BooleanQueryResultFormat format,
boolean input) |
protected void |
AbstractQueryResultIOTest.doBooleanStylesheet(BooleanQueryResultFormat format,
boolean input,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doInvalidBooleanAfterStartQueryResult(BooleanQueryResultFormat format,
boolean input,
List<String> links) |
protected void |
AbstractQueryResultIOTest.doTupleJSONPCallback(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected)
Test specifically for JSONP callback support.
|
protected void |
AbstractQueryResultIOTest.doTupleLinks(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespaces(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl,
Map<String,String> namespaces) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespacesQName(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl,
Map<String,String> namespaces)
Test specifically for QName support.
|
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetMultipleEndHeaders(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleLinksAndStylesheetNoStarts(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleMissingStartQueryResult(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
List<String> links,
String stylesheetUrl) |
protected void |
AbstractQueryResultIOTest.doTupleNoLinks(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected) |
protected void |
AbstractQueryResultIOTest.doTupleParseNoHandlerOnBooleanResults(TupleQueryResultFormat format,
boolean input,
BooleanQueryResultFormat matchingBooleanFormat)
Tests that the parser returned for a TupleQueryResultFormat is not able to parse a BooleanQueryResultFormat using
the deprecated
TupleQueryResultParser.parse(java.io.InputStream) method, and that it does indeed through
an exception of type QueryResultParseException . |
protected void |
AbstractQueryResultIOTest.doTupleStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
String stylesheetUrl) |
void |
QueryResultWriter.endHeader()
Indicates the end of the header.
|
void |
QueryResultWriter.handleNamespace(String prefix,
String uri)
Handles a namespace prefix declaration.
|
void |
QueryResultWriter.handleStylesheet(String stylesheetUrl)
Handles a stylesheet URL.
|
void |
AbstractTupleQueryResultParser.parseQueryResult(InputStream in) |
void |
QueryResultParser.parseQueryResult(InputStream in)
Parse the query results out of the given
InputStream into the handler setup using
QueryResultParser.setQueryResultHandler(QueryResultHandler) . |
void |
QueryResultWriter.startDocument()
Indicates the start of the document.
|
void |
QueryResultWriter.startHeader()
Indicates the start of the header.
|
static void |
QueryResultIO.writeBoolean(boolean value,
QueryResultFormat format,
OutputStream out)
Writes a boolean query result document in a specific boolean query result format to an output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryQueryResultWriter.endHeader() |
void |
BinaryQueryResultWriter.handleBoolean(boolean value) |
void |
BinaryQueryResultWriter.handleLinks(List<String> linkUrls) |
void |
BinaryQueryResultWriter.handleNamespace(String prefix,
String uri) |
void |
BinaryQueryResultWriter.handleStylesheet(String stylesheetUrl) |
void |
BinaryQueryResultWriter.startHeader() |
Modifier and Type | Method and Description |
---|---|
List<String> |
QueryResultCollector.getBindingNames()
Returns a collection of binding names collected.
|
List<BindingSet> |
QueryResultCollector.getBindingSets() |
boolean |
QueryResultCollector.getBoolean()
If
QueryResultCollector.getHandledBoolean() returns true this method returns the boolean that was last found using
QueryResultCollector.handleBoolean(boolean) |
void |
BackgroundTupleResult.handleBoolean(boolean value) |
void |
QueryResultCollector.handleBoolean(boolean value) |
void |
BackgroundTupleResult.handleLinks(List<String> linkUrls) |
void |
QueryResultCollector.handleLinks(List<String> linkUrls) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSPARQLJSONParser.parseQueryResult(InputStream in) |
protected boolean |
AbstractSPARQLJSONParser.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
protected void |
SPARQLResultsJSONWriter.writeValue(Value value) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSPARQLXMLParser.parseQueryResult(InputStream in) |
protected boolean |
AbstractSPARQLXMLParser.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
Modifier and Type | Method and Description |
---|---|
void |
BooleanTextWriter.endHeader() |
void |
BooleanTextWriter.handleBoolean(boolean value) |
void |
BooleanTextWriter.handleLinks(List<String> linkUrls) |
void |
BooleanTextWriter.handleNamespace(String prefix,
String uri) |
void |
BooleanTextWriter.handleStylesheet(String stylesheetUrl) |
void |
BooleanTextParser.parseQueryResult(InputStream in) |
void |
BooleanTextWriter.startDocument() |
void |
BooleanTextWriter.startHeader() |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsCSVWriter.endHeader() |
void |
SPARQLResultsCSVWriter.handleBoolean(boolean value) |
void |
SPARQLResultsCSVWriter.handleLinks(List<String> linkUrls) |
void |
SPARQLResultsCSVWriter.handleNamespace(String prefix,
String uri) |
void |
SPARQLResultsCSVWriter.handleStylesheet(String stylesheetUrl) |
void |
SPARQLResultsCSVWriter.startDocument() |
void |
SPARQLResultsCSVWriter.startHeader() |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsTSVWriter.handleBoolean(boolean value) |
void |
SPARQLResultsTSVWriter.handleNamespace(String prefix,
String uri) |
Modifier and Type | Method and Description |
---|---|
protected void |
RemoveServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
AddServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
ClearServlet.doPost(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath) |
protected void |
ContextsServlet.service(TupleResultBuilder builder,
RepositoryConnection con) |
void |
RepositoriesServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
UpdateServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
NamespacesServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
SummaryServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
InformationServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
RemoveServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
AddServlet.service(TupleResultBuilder builder,
String xslPath) |
void |
DeleteServlet.service(TupleResultBuilder builder,
String xslPath)
Presents a page where the user can choose a repository ID to delete.
|
void |
ClearServlet.service(TupleResultBuilder builder,
String xslPath) |
protected void |
CreateServlet.service(WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
String xslPath)
GET requests to this servlet come from the Workbench side bar or from create.xsl form submissions.
|
Modifier and Type | Method and Description |
---|---|
TupleResultBuilder |
TupleResultBuilder.bool(boolean result) |
TupleResultBuilder |
TupleResultBuilder.end()
This must be called if
TupleResultBuilder.start(String...) is used, after all results are generated using either
TupleResultBuilder.namedResult(String, Object) or TupleResultBuilder.result(Object...) . |
void |
QueryEvaluator.evaluateTupleQuery(TupleResultBuilder builder,
String xslPath,
WorkbenchRequest req,
javax.servlet.http.HttpServletResponse resp,
CookieHandler cookies,
TupleQuery query,
boolean writeCookie,
boolean paged,
int offset,
int limit)
Evaluate a tuple query, and create an XML results document.
|
void |
QueryEvaluator.evaluateTupleQuery(TupleResultBuilder builder,
TupleQuery query)
Evaluate a tuple query, and create an XML results document.
|
TupleResultBuilder |
TupleResultBuilder.link(List<String> url) |
TupleResultBuilder |
TupleResultBuilder.namedResult(String name,
Object result)
TupleResultBuilder.start(String...) must be called before using this method. |
void |
TupleResultBuilder.prefix(String prefix,
String namespace) |
TupleResultBuilder |
TupleResultBuilder.result(Object... result)
TupleResultBuilder.start(String...) must be called before using this method. |
void |
QueryStorage.selectSavedQueries(HTTPRepository repository,
String userName,
TupleResultBuilder builder)
Prepares a query to retrieve the queries accessible to the given user in the given repository.
|
TupleResultBuilder |
TupleResultBuilder.start(String... variables)
This must be called before calling
TupleResultBuilder.namedResult(String, Object) or TupleResultBuilder.result(Object...) . |
TupleResultBuilder |
TupleResultBuilder.transform(String path,
String xsl) |
TupleResultBuilder |
TupleResultBuilder.variables(String... names) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.