Interface RDF4JGraphLike<T extends TripleLike>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<org.eclipse.rdf4j.model.Model> asModel()
      Return the corresponding RDF4J Model, if present.
      java.util.Optional<org.eclipse.rdf4j.repository.Repository> asRepository()
      Return the corresponding RDF4J Repository, if present.
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • asModel

        java.util.Optional<org.eclipse.rdf4j.model.Model> asModel()
        Return the corresponding RDF4J Model, if present.

        The return value is Optional.isPresent() if this is backed by a Model.

        Changes to the Model are reflected in both directions.

        Returns:
        The corresponding RDF4J Model.
      • asRepository

        java.util.Optional<org.eclipse.rdf4j.repository.Repository> asRepository()
        Return the corresponding RDF4J Repository, if present.

        The return value is Optional.isPresent() if this is backed by a Repository.

        Changes to the Repository are reflected in both directions.

        Returns:
        The corresponding RDF4J Repository.