Uses of Class
org.eclipse.rdf4j.query.resultio.QueryResultFormat
Packages that use QueryResultFormat
Package
Description
A writer for the
SPARQL Query Results JSON Format
Parsers and writers for the
SPARQL Query Results XML Format
-
Uses of QueryResultFormat in org.eclipse.rdf4j.console.util
Methods in org.eclipse.rdf4j.console.util that return QueryResultFormat -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio
Subclasses of QueryResultFormat in org.eclipse.rdf4j.query.resultioModifier and TypeClassDescriptionclassRepresents the concept of a boolean query result serialization format.classRepresents the concept of an tuple query result serialization format.Methods in org.eclipse.rdf4j.query.resultio that return QueryResultFormatModifier and TypeMethodDescriptionprotected QueryResultFormatBooleanQueryResultParserRegistry.getKey(BooleanQueryResultParserFactory factory) protected QueryResultFormatBooleanQueryResultWriterRegistry.getKey(BooleanQueryResultWriterFactory factory) protected QueryResultFormatTupleQueryResultParserRegistry.getKey(TupleQueryResultParserFactory factory) protected QueryResultFormatTupleQueryResultWriterRegistry.getKey(TupleQueryResultWriterFactory factory) AbstractTupleQueryResultParser.getQueryResultFormat()QueryResultParser.getQueryResultFormat()Gets the query result format that this parser can parse.QueryResultWriter.getQueryResultFormat()Gets the query result format that this writer uses.Methods in org.eclipse.rdf4j.query.resultio that return types with arguments of type QueryResultFormatModifier and TypeMethodDescriptionstatic Optional<QueryResultFormat>QueryResultIO.getBooleanParserFormatForFileName(String fileName) Tries to match the extension of a file name against the list of RDF formats that can be parsed.static Optional<QueryResultFormat>QueryResultIO.getBooleanParserFormatForMIMEType(String mimeType) Tries to match a MIME type against the list of boolean query result formats that can be parsed.static Optional<QueryResultFormat>QueryResultIO.getBooleanWriterFormatForFileName(String fileName) Tries to match the extension of a file name against the list of RDF formats that can be written.static Optional<QueryResultFormat>QueryResultIO.getBooleanWriterFormatForMIMEType(String mimeType) Tries to match a MIME type against the list of boolean query result formats that can be written.static Optional<QueryResultFormat>QueryResultIO.getParserFormatForFileName(String fileName) Tries to match the extension of a file name against the list of RDF formats that can be parsed.static Optional<QueryResultFormat>QueryResultIO.getParserFormatForMIMEType(String mimeType) Tries to match a MIME type against the list of tuple query result formats that can be parsed.static Optional<QueryResultFormat>QueryResultIO.getWriterFormatForFileName(String fileName) Tries to match the extension of a file name against the list of RDF formats that can be written.static Optional<QueryResultFormat>QueryResultIO.getWriterFormatForMIMEType(String mimeType) Tries to match a MIME type against the list of tuple query result formats that can be written.Methods in org.eclipse.rdf4j.query.resultio with parameters of type QueryResultFormatModifier and TypeMethodDescriptionstatic BooleanQueryResultParserQueryResultIO.createBooleanParser(QueryResultFormat format) Convenience methods for creating BooleanQueryResultParser objects.This method uses the registry returned byBooleanQueryResultParserRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate parser.static BooleanQueryResultWriterQueryResultIO.createBooleanWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating BooleanQueryResultWriter objects.This method uses the registry returned byBooleanQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static TupleQueryResultParserQueryResultIO.createTupleParser(QueryResultFormat format) Convenience methods for creating TupleQueryResultParser objects.static TupleQueryResultParserQueryResultIO.createTupleParser(QueryResultFormat format, ValueFactory valueFactory) Convenience methods for creating TupleQueryResultParser objects that use the specified ValueFactory to create RDF model objects.static TupleQueryResultWriterQueryResultIO.createTupleWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating TupleQueryResultWriter objects.This method uses the registry returned byTupleQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static QueryResultWriterQueryResultIO.createWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating QueryResultWriter objects.This method uses the registry returned byTupleQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static booleanQueryResultIO.parseBoolean(InputStream in, QueryResultFormat format) Parses a boolean query result document and returns the parsed value.static TupleQueryResultQueryResultIO.parseTuple(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReference<?> callerReference argument will be removedstatic voidQueryResultIO.parseTuple(InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory) Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.static TupleQueryResultQueryResultIO.parseTupleBackground(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReference<?> callerReference argument will be removedstatic voidQueryResultIO.writeBoolean(boolean value, QueryResultFormat format, OutputStream out) Writes a boolean query result document in a specific boolean query result format to an output stream.static voidQueryResultIO.writeTuple(TupleQueryResult tqr, QueryResultFormat format, OutputStream out) Writes a query result document in a specific query result format to an output stream. -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqljson
Methods in org.eclipse.rdf4j.query.resultio.sparqljson that return QueryResultFormatModifier and TypeMethodDescriptionSPARQLBooleanJSONParser.getQueryResultFormat()SPARQLResultsJSONParser.getQueryResultFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqlxml
Methods in org.eclipse.rdf4j.query.resultio.sparqlxml that return QueryResultFormatModifier and TypeMethodDescriptionSPARQLBooleanXMLParser.getQueryResultFormat()SPARQLResultsXMLParser.getQueryResultFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.text
Methods in org.eclipse.rdf4j.query.resultio.text that return QueryResultFormatModifier and TypeMethodDescriptionfinal QueryResultFormatBooleanTextParser.getQueryResultFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.testsuite.query.resultio
Methods in org.eclipse.rdf4j.testsuite.query.resultio that return QueryResultFormatModifier and TypeMethodDescriptionprotected final QueryResultFormatAbstractQueryResultIOBooleanTest.getFormat()protected abstract QueryResultFormatAbstractQueryResultIOTest.getFormat()protected final QueryResultFormatAbstractQueryResultIOTupleTest.getFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.workbench.base
Methods in org.eclipse.rdf4j.workbench.base that return QueryResultFormatModifier and TypeMethodDescriptionprotected QueryResultFormatAbstractServlet.getBooleanResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp) protected QueryResultFormatAbstractServlet.getJSONPResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp) protected QueryResultFormatAbstractServlet.getTupleResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp)