Uses of Class
org.eclipse.rdf4j.query.resultio.QueryResultFormat
-
Packages that use QueryResultFormat Package Description org.eclipse.rdf4j.http.client org.eclipse.rdf4j.query.resultio org.eclipse.rdf4j.query.resultio.sparqljson A writer for the SPARQL Query Results JSON Formatorg.eclipse.rdf4j.query.resultio.sparqlxml Parsers and writers for the SPARQL Query Results XML Formatorg.eclipse.rdf4j.query.resultio.text -
-
Uses of QueryResultFormat in org.eclipse.rdf4j.http.client
Method parameters in org.eclipse.rdf4j.http.client with type arguments of type QueryResultFormat Modifier and Type Method Description private org.apache.http.HttpResponseSPARQLProtocolSession. sendBooleanQueryViaHttp(org.apache.http.client.methods.HttpUriRequest method, java.util.Set<QueryResultFormat> booleanFormats)private org.apache.http.HttpResponseSPARQLProtocolSession. sendTupleQueryViaHttp(org.apache.http.client.methods.HttpUriRequest method, java.util.Set<QueryResultFormat> tqrFormats)Send the tuple query via HTTP and throws an exception in case anything goes wrong, i.e. -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio
Subclasses of QueryResultFormat in org.eclipse.rdf4j.query.resultio Modifier and Type Class Description classBooleanQueryResultFormatRepresents the concept of a boolean query result serialization format.classTupleQueryResultFormatRepresents the concept of an tuple query result serialization format.Methods in org.eclipse.rdf4j.query.resultio that return QueryResultFormat Modifier and Type Method Description protected QueryResultFormatBooleanQueryResultParserRegistry. getKey(BooleanQueryResultParserFactory factory)protected QueryResultFormatBooleanQueryResultWriterRegistry. getKey(BooleanQueryResultWriterFactory factory)protected QueryResultFormatTupleQueryResultParserRegistry. getKey(TupleQueryResultParserFactory factory)protected QueryResultFormatTupleQueryResultWriterRegistry. getKey(TupleQueryResultWriterFactory factory)QueryResultFormatAbstractTupleQueryResultParser. getQueryResultFormat()QueryResultFormatQueryResultParser. getQueryResultFormat()Gets the query result format that this parser can parse.QueryResultFormatQueryResultWriter. getQueryResultFormat()Gets the query result format that this writer uses.Methods in org.eclipse.rdf4j.query.resultio that return types with arguments of type QueryResultFormat Modifier and Type Method Description static java.util.Optional<QueryResultFormat>QueryResultIO. getBooleanParserFormatForFileName(java.lang.String fileName)Tries to match the extension of a file name against the list of RDF formats that can be parsed.static java.util.Optional<QueryResultFormat>QueryResultIO. getBooleanParserFormatForMIMEType(java.lang.String mimeType)Tries to match a MIME type against the list of boolean query result formats that can be parsed.static java.util.Optional<QueryResultFormat>QueryResultIO. getBooleanWriterFormatForFileName(java.lang.String fileName)Tries to match the extension of a file name against the list of RDF formats that can be written.static java.util.Optional<QueryResultFormat>QueryResultIO. getBooleanWriterFormatForMIMEType(java.lang.String mimeType)Tries to match a MIME type against the list of boolean query result formats that can be written.static java.util.Optional<QueryResultFormat>QueryResultIO. getParserFormatForFileName(java.lang.String fileName)Tries to match the extension of a file name against the list of RDF formats that can be parsed.static java.util.Optional<QueryResultFormat>QueryResultIO. getParserFormatForMIMEType(java.lang.String mimeType)Tries to match a MIME type against the list of tuple query result formats that can be parsed.static java.util.Optional<QueryResultFormat>QueryResultIO. getWriterFormatForFileName(java.lang.String fileName)Tries to match the extension of a file name against the list of RDF formats that can be written.static java.util.Optional<QueryResultFormat>QueryResultIO. getWriterFormatForMIMEType(java.lang.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 QueryResultFormat Modifier and Type Method Description static 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, java.io.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, java.io.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, java.io.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(java.io.InputStream in, QueryResultFormat format)Parses a boolean query result document and returns the parsed value.static TupleQueryResultQueryResultIO. parseTuple(java.io.InputStream in, QueryResultFormat format, java.lang.ref.WeakReference<?> callerReference)Deprecated.WeakReference> callerReference argument will be removedstatic voidQueryResultIO. parseTuple(java.io.InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory)Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.static TupleQueryResultQueryResultIO. parseTupleBackground(java.io.InputStream in, QueryResultFormat format, java.lang.ref.WeakReference<?> callerReference)Deprecated.WeakReference> callerReference argument will be removedprivate static TupleQueryResultQueryResultIO. parseTupleInternal(java.io.InputStream in, QueryResultFormat format, boolean parseOnBackgroundThread)static voidQueryResultIO. writeBoolean(boolean value, QueryResultFormat format, java.io.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, java.io.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 QueryResultFormat Modifier and Type Method Description QueryResultFormatSPARQLBooleanJSONParser. getQueryResultFormat()QueryResultFormatSPARQLResultsJSONParser. getQueryResultFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqlxml
Methods in org.eclipse.rdf4j.query.resultio.sparqlxml that return QueryResultFormat Modifier and Type Method Description QueryResultFormatSPARQLBooleanXMLParser. getQueryResultFormat()QueryResultFormatSPARQLResultsXMLParser. getQueryResultFormat() -
Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.text
Methods in org.eclipse.rdf4j.query.resultio.text that return QueryResultFormat Modifier and Type Method Description QueryResultFormatBooleanTextParser. getQueryResultFormat()
-