c

ai.agnos.sparql.api

InsertGraphFromURL

case class InsertGraphFromURL(url: URL, modelFormat: RDFFormat, graphIri: Option[IRI] = None, mergeGraphs: Boolean = false, context: Option[Any] = None) extends InsertGraph with Product with Serializable

Used to insert RDF contents from a file or another resource into the triple store.

url

the URL of the file to use

modelFormat

the RDF format to use, supporting all formats available in org.eclipse.rdf4j.rio.Rio

graphIri

an optional graph IRI, will insert into the default graph if no graph is specified. NB: if the incoming RDF is in "quads" format, i.e. NQUADS or JSON-LD, the graph in the RDF is ignored and instead the graphIri property is used.

mergeGraphs

indicates if the inserted data should be merged data already in the specified graph in the database, if set to false the previously stored data in the graph will be replaced with the payload, defaults to false

context

an optional context to be carried along the flow

Linear Supertypes
Serializable, Serializable, Product, Equals, InsertGraph, GraphStoreRequest, GraphStoreProtocol, ClientHttpRequest, Request, ClientAPIProtocol, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InsertGraphFromURL
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. InsertGraph
  7. GraphStoreRequest
  8. GraphStoreProtocol
  9. ClientHttpRequest
  10. Request
  11. ClientAPIProtocol
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InsertGraphFromURL(url: URL, modelFormat: RDFFormat, graphIri: Option[IRI] = None, mergeGraphs: Boolean = false, context: Option[Any] = None)

    url

    the URL of the file to use

    modelFormat

    the RDF format to use, supporting all formats available in org.eclipse.rdf4j.rio.Rio

    graphIri

    an optional graph IRI, will insert into the default graph if no graph is specified. NB: if the incoming RDF is in "quads" format, i.e. NQUADS or JSON-LD, the graph in the RDF is ignored and instead the graphIri property is used.

    mergeGraphs

    indicates if the inserted data should be merged data already in the specified graph in the database, if set to false the previously stored data in the graph will be replaced with the payload, defaults to false

    context

    an optional context to be carried along the flow

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. val context: Option[Any]
    Definition Classes
    InsertGraphFromURLGraphStoreRequest
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. val graphIri: Option[IRI]
    Definition Classes
    InsertGraphFromURLInsertGraph
  11. val httpMethod: HttpMethod

    returns

    the HTTP Method to be used to communicate with the endpoint

    Definition Classes
    InsertGraphClientHttpRequest
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val mergeGraphs: Boolean
    Definition Classes
    InsertGraphFromURLInsertGraph
  14. val modelFormat: RDFFormat
    Definition Classes
    InsertGraphFromURLInsertGraph
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. val url: URL
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from InsertGraph

Inherited from GraphStoreRequest

Inherited from GraphStoreProtocol

Inherited from ClientHttpRequest

Inherited from Request

Inherited from ClientAPIProtocol

Inherited from AnyRef

Inherited from Any

Ungrouped