| Package | Description | 
|---|---|
| org.eclipse.rdf4j.console.util | |
| org.eclipse.rdf4j.http.client | |
| org.eclipse.rdf4j.query | Interfaces and classes for handling queries and query results. | 
| org.eclipse.rdf4j.query.resultio | |
| org.eclipse.rdf4j.repository | The Repository API: the main API for accessing rdf databases and SPARQL endpoints. | 
| org.eclipse.rdf4j.repository.base | Abstract base classes and wrappers for the main Repository API interfaces. | 
| org.eclipse.rdf4j.repository.contextaware | A repository wrapper with convenience functions for handling contexts. | 
| org.eclipse.rdf4j.repository.http | A repository that serves as a proxy client for a remote repository on an Rdf4j Server. | 
| org.eclipse.rdf4j.repository.sail.helpers | Helper and utility classes for the  SailRepository | 
| org.eclipse.rdf4j.repository.sparql | A  Repositorythat serves as a SPARQL endpoint client. | 
| org.eclipse.rdf4j.repository.util | Helper classes for working with Repositories. | 
| org.eclipse.rdf4j.rio | Rio: The rdf4j parser/writer API. | 
| org.eclipse.rdf4j.rio.binary | Parser/writer for the rdf4j binary RDF format. | 
| org.eclipse.rdf4j.rio.jsonld | Parser/writer for the JSON-L format. | 
| org.eclipse.rdf4j.rio.n3 | Writer for the Notation-3 (N3) format. | 
| org.eclipse.rdf4j.rio.nquads | Parser/writer for the N-Quads format. | 
| org.eclipse.rdf4j.rio.ntriples | Parser/writer for the N-Triples format. | 
| org.eclipse.rdf4j.rio.rdfjson | Parser/writer for the RDF/JSON format. | 
| org.eclipse.rdf4j.rio.rdfxml | Parser/writer for the RDF/XML format. | 
| org.eclipse.rdf4j.rio.rdfxml.util | Pretty-printing for the RDF/XML format. | 
| org.eclipse.rdf4j.rio.trig | Parser/writer for the TriG format. | 
| org.eclipse.rdf4j.rio.trix | Parser/writer for the TriX format. | 
| org.eclipse.rdf4j.rio.turtle | Parser/writer for the Turtle format. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | ConsoleRDFWriter. getRDFFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | SPARQLProtocolSession. getPreferredRDFFormat()Gets the preferred  RDFFormatfor encoding RDF documents. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RDF4JProtocolSession. addData(InputStream contents,
       String baseURI,
       RDFFormat dataFormat,
       Resource... contexts) | 
| void | RDF4JProtocolSession. removeData(InputStream contents,
          String baseURI,
          RDFFormat dataFormat,
          Resource... contexts) | 
| void | SPARQLProtocolSession. setPreferredRDFFormat(RDFFormat format)Sets the preferred format for encoding RDF documents. | 
| protected void | RDF4JProtocolSession. upload(InputStream contents,
      String baseURI,
      RDFFormat dataFormat,
      boolean overwrite,
      boolean preserveNodeIds,
      Protocol.Action action,
      Resource... contexts) | 
| void | RDF4JProtocolSession. upload(InputStream contents,
      String baseURI,
      RDFFormat dataFormat,
      boolean overwrite,
      boolean preserveNodeIds,
      Resource... contexts) | 
| protected void | RDF4JProtocolSession. upload(Reader contents,
      String baseURI,
      RDFFormat dataFormat,
      boolean overwrite,
      boolean preserveNodeIds,
      Protocol.Action action,
      Resource... contexts) | 
| void | RDF4JProtocolSession. upload(Reader contents,
      String baseURI,
      RDFFormat dataFormat,
      boolean overwrite,
      boolean preserveNodeIds,
      Resource... contexts) | 
| Modifier and Type | Method and Description | 
|---|---|
| static GraphQueryResult | QueryResults. parseGraphBackground(InputStream in,
                    String baseURI,
                    RDFFormat format)Parses an RDF document and returns it as a GraphQueryResult object, with parsing done on a separate thread in the
 background. IMPORTANT: As this method will spawn a new thread in the background, it is vitally important that the resulting GraphQueryResult be closed consistently when it is no longer required, to prevent resource leaks. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | QueryResultIO. writeGraph(GraphQueryResult gqr,
          RDFFormat format,
          OutputStream out)Writes a graph query result document in a specific RDF format to an output stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RepositoryConnection. add(File file,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts)Adds RDF data from the specified file to a specific contexts in the repository. | 
| void | RepositoryConnection. add(InputStream in,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts)Adds RDF data from an InputStream to the repository, optionally to one or more named contexts. | 
| void | RepositoryConnection. add(Reader reader,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts)Adds RDF data from a Reader to the repository, optionally to one or more named contexts. | 
| void | RepositoryConnection. add(URL url,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts)Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named
 contexts. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RepositoryConnectionWrapper. add(File file,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | AbstractRepositoryConnection. add(File file,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | RepositoryConnectionWrapper. add(InputStream in,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | AbstractRepositoryConnection. add(InputStream in,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | RepositoryConnectionWrapper. add(Reader reader,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | AbstractRepositoryConnection. add(Reader reader,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | RepositoryConnectionWrapper. add(URL url,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | AbstractRepositoryConnection. add(URL url,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ContextAwareConnection. add(File file,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(File file,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(InputStream in,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(InputStream in,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(Reader reader,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(Reader reader,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(URL url,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | ContextAwareConnection. add(URL url,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | HTTPRepository. getPreferredRDFFormat()Indicates the current preferred  RDFFormat. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HTTPRepository. setPreferredRDFFormat(RDFFormat format)Sets the preferred serialization format for RDF to the supplied  RDFFormat, overriding theSPARQLProtocolSession's default preference. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | SPARQLUpdateDataBlockParser. getRDFFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SPARQLConnection. add(File file,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | SPARQLConnection. add(InputStream in,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | SPARQLConnection. add(Reader reader,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| void | SPARQLConnection. add(URL url,
   String baseURI,
   RDFFormat dataFormat,
   Resource... contexts) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RDFLoader. load(File file,
    String baseURI,
    RDFFormat dataFormat,
    RDFHandler rdfHandler)Parses RDF data from the specified file to the given RDFHandler. | 
| void | RDFLoader. load(InputStream in,
    String baseURI,
    RDFFormat dataFormat,
    RDFHandler rdfHandler)Parses RDF data from an InputStream to the RDFHandler. | 
| void | RDFLoader. load(Reader reader,
    String baseURI,
    RDFFormat dataFormat,
    RDFHandler rdfHandler)Parses RDF data from a Reader to the RDFHandler. | 
| void | RDFLoader. load(URL url,
    String baseURI,
    RDFFormat dataFormat,
    RDFHandler rdfHandler)Parses the RDF data that can be found at the specified URL to the RDFHandler. | 
| Modifier and Type | Field and Description | 
|---|---|
| static RDFFormat | RDFFormat. BINARYA binary RDF format. | 
| static RDFFormat | RDFFormat. JSONLDThe JSON-LD file format, an RDF serialization format that supports
 recording of named graphs. | 
| static RDFFormat | RDFFormat. N3The N3/Notation3 file format. | 
| static RDFFormat | RDFFormat. NQUADSThe N-Quads file format, an RDF serialization format that supports
 recording of named graphs. | 
| static RDFFormat | RDFFormat. NTRIPLESThe N-Triples file format. | 
| static RDFFormat | RDFFormat. RDFAThe RDFa file format, an RDF serialization format. | 
| static RDFFormat | RDFFormat. RDFJSONThe RDF/JSON file format, an RDF serialization format that supports
 recording of named graphs. | 
| static RDFFormat | RDFFormat. RDFXMLThe RDF/XML file format. | 
| static RDFFormat | RDFFormat. TRIGThe TriG file format, a Turtle-based RDF serialization format that
 supports recording of named graphs. | 
| static RDFFormat | RDFFormat. TRIXThe TriX file format, an XML-based RDF serialization format that
 supports recording of named graphs. | 
| static RDFFormat | RDFFormat. TURTLEThe Turtle file format. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected RDFFormat | RDFParserRegistry. getKey(RDFParserFactory factory) | 
| protected RDFFormat | RDFWriterRegistry. getKey(RDFWriterFactory factory) | 
| RDFFormat | RDFParserFactory. getRDFFormat()Returns the RDF format for this factory. | 
| RDFFormat | RDFWriter. getRDFFormat()Gets the RDF format that this RDFWriter uses. | 
| RDFFormat | RDFParser. getRDFFormat()Gets the RDF format that this parser can parse. | 
| RDFFormat | RDFWriterFactory. getRDFFormat()Returns the RDF format for this factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Optional<RDFFormat> | Rio. getParserFormatForFileName(String fileName)Tries to match the extension of a file name against the list of RDF formats that can be parsed. | 
| static Optional<RDFFormat> | Rio. getParserFormatForMIMEType(String mimeType)Tries to match a MIME type against the list of RDF formats that can be parsed. | 
| static Optional<RDFFormat> | Rio. getWriterFormatForFileName(String fileName)Tries to match the extension of a file name against the list of RDF formats that can be written. | 
| static Optional<RDFFormat> | Rio. getWriterFormatForMIMEType(String mimeType)Tries to match a MIME type against the list of RDF formats that can be written. | 
| Modifier and Type | Method and Description | 
|---|---|
| static RDFParser | Rio. createParser(RDFFormat format)Convenience methods for creating RDFParser objects.This method uses the registry returned by
  RDFParserRegistry.getInstance()to get a factory for the specified format and uses this factory to create
 the appropriate parser. | 
| static RDFParser | Rio. createParser(RDFFormat format,
            ValueFactory valueFactory)Convenience methods for creating RDFParser objects that use the specified ValueFactory to create RDF model
 objects. | 
| static RDFWriter | Rio. createWriter(RDFFormat format,
            OutputStream out)Convenience methods for creating RDFWriter objects.This method uses the registry returned by
  RDFWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create
 the appropriate writer. | 
| static RDFWriter | Rio. createWriter(RDFFormat format,
            OutputStream out,
            String baseURI)Convenience methods for creating RDFWriter objects.This method uses the registry returned by
  RDFWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create
 the appropriate writer. | 
| static RDFWriter | Rio. createWriter(RDFFormat format,
            Writer writer)Convenience methods for creating RDFWriter objects.This method uses the registry returned by
  RDFWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create
 the appropriate writer. | 
| static RDFWriter | Rio. createWriter(RDFFormat format,
            Writer writer,
            String baseURI)Convenience methods for creating RDFWriter objects.This method uses the registry returned by
  RDFWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create
 the appropriate writer. | 
| static List<String> | RDFFormat. getAcceptParams(Iterable<RDFFormat> rdfFormats,
               boolean requireContext,
               RDFFormat preferredFormat)Processes the supplied collection of  RDFFormats and assigns quality values to each based on whether
 context must be supported and whether the format is preferred. | 
| static Model | Rio. parse(InputStream in,
     String baseURI,
     RDFFormat dataFormat,
     ParserConfig settings,
     ValueFactory valueFactory,
     ParseErrorListener errors,
     Resource... contexts)Adds RDF data from an  InputStreamto aModel, optionally to one or more named contexts. | 
| static Model | Rio. parse(InputStream in,
     String baseURI,
     RDFFormat dataFormat,
     Resource... contexts)Adds RDF data from an  InputStreamto aModel, optionally to one or more named contexts. | 
| static Model | Rio. parse(Reader reader,
     String baseURI,
     RDFFormat dataFormat,
     ParserConfig settings,
     ValueFactory valueFactory,
     ParseErrorListener errors,
     Resource... contexts) | 
| static Model | Rio. parse(Reader reader,
     String baseURI,
     RDFFormat dataFormat,
     Resource... contexts) | 
| static java.util.function.Supplier<UnsupportedRDFormatException> | Rio. unsupportedFormat(RDFFormat unsupportedFormat)Helper method to use to create a lambda for  Optional.orElseThrow(Supplier)to indicate a format is
 unsupported. | 
| static void | Rio. write(Iterable<Statement> model,
     OutputStream output,
     RDFFormat dataFormat)Writes the given statements to the given  OutputStreamin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     OutputStream output,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given statements to the given  OutputStreamin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     OutputStream output,
     String baseURI,
     RDFFormat dataFormat)Writes the given statements to the given  OutputStreamin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     OutputStream output,
     String baseURI,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given statements to the given  OutputStreamin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     Writer output,
     RDFFormat dataFormat)Writes the given statements to the given  Writerin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     Writer output,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given statements to the given  Writerin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     Writer output,
     String baseURI,
     RDFFormat dataFormat)Writes the given statements to the given  Writerin the given format. | 
| static void | Rio. write(Iterable<Statement> model,
     Writer output,
     String baseURI,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given statements to the given  Writerin the given format. | 
| static void | Rio. write(Statement st,
     OutputStream output,
     RDFFormat dataFormat)Writes the given statement to the given  OutputStreamin the given format. | 
| static void | Rio. write(Statement st,
     OutputStream output,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given single statement to the given  OutputStreamin the given format. | 
| static void | Rio. write(Statement statement,
     Writer output,
     RDFFormat dataFormat)Writes the given single statement to the given  Writerin the given format. | 
| static void | Rio. write(Statement statement,
     Writer output,
     RDFFormat dataFormat,
     WriterConfig settings)Writes the given single statement to the given  Writerin the given format. | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<String> | RDFFormat. getAcceptParams(Iterable<RDFFormat> rdfFormats,
               boolean requireContext,
               RDFFormat preferredFormat)Processes the supplied collection of  RDFFormats and assigns quality values to each based on whether
 context must be supported and whether the format is preferred. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | BinaryRDFParser. getRDFFormat() | 
| RDFFormat | BinaryRDFWriterFactory. getRDFFormat()Returns  BINARY. | 
| RDFFormat | BinaryRDFWriter. getRDFFormat() | 
| RDFFormat | BinaryRDFParserFactory. getRDFFormat()Returns  BINARY. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | JSONLDWriterFactory. getRDFFormat() | 
| RDFFormat | JSONLDParserFactory. getRDFFormat() | 
| RDFFormat | JSONLDWriter. getRDFFormat() | 
| RDFFormat | JSONLDParser. getRDFFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | N3Writer. getRDFFormat() | 
| RDFFormat | N3ParserFactory. getRDFFormat()Returns  N3. | 
| RDFFormat | N3WriterFactory. getRDFFormat()Returns  N3. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | NQuadsParserFactory. getRDFFormat()Returns  NQUADS. | 
| RDFFormat | NQuadsWriterFactory. getRDFFormat()Returns  NQUADS. | 
| RDFFormat | NQuadsWriter. getRDFFormat() | 
| RDFFormat | NQuadsParser. getRDFFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | NTriplesWriterFactory. getRDFFormat()Returns  NTRIPLES. | 
| RDFFormat | NTriplesWriter. getRDFFormat() | 
| RDFFormat | NTriplesParser. getRDFFormat() | 
| RDFFormat | NTriplesParserFactory. getRDFFormat()Returns  NTRIPLES. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | RDFJSONParser. getRDFFormat() | 
| RDFFormat | RDFJSONWriter. getRDFFormat() | 
| RDFFormat | RDFJSONParserFactory. getRDFFormat() | 
| RDFFormat | RDFJSONWriterFactory. getRDFFormat() | 
| Constructor and Description | 
|---|
| RDFJSONParser(RDFFormat actualFormat)Creates a parser using the given RDFFormat to self identify. | 
| RDFJSONWriter(OutputStream out,
             RDFFormat actualFormat) | 
| RDFJSONWriter(Writer writer,
             RDFFormat actualFormat) | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | RDFXMLWriter. getRDFFormat() | 
| RDFFormat | RDFXMLParser. getRDFFormat() | 
| RDFFormat | RDFXMLWriterFactory. getRDFFormat()Returns  RDFXML. | 
| RDFFormat | RDFXMLParserFactory. getRDFFormat()Returns the RDF format for this factory. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | RDFXMLPrettyWriterFactory. getRDFFormat()Returns  RDFXML. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | TriGParser. getRDFFormat() | 
| RDFFormat | TriGWriterFactory. getRDFFormat()Returns  TRIG. | 
| RDFFormat | TriGParserFactory. getRDFFormat()Returns  TRIG. | 
| RDFFormat | TriGWriter. getRDFFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | TriXParser. getRDFFormat() | 
| RDFFormat | TriXWriter. getRDFFormat() | 
| RDFFormat | TriXParserFactory. getRDFFormat()Returns  TRIX. | 
| RDFFormat | TriXWriterFactory. getRDFFormat()Returns  TRIX. | 
| Modifier and Type | Method and Description | 
|---|---|
| RDFFormat | TurtleParserFactory. getRDFFormat()Returns  TURTLE. | 
| RDFFormat | TurtleParser. getRDFFormat() | 
| RDFFormat | TurtleWriterFactory. getRDFFormat()Returns  TURTLE. | 
| RDFFormat | TurtleWriter. getRDFFormat() | 
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.