case class InsertGraphFromPath(path: Path, 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.
- path
the local filesystem path 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
- Alphabetic
- By Inheritance
- InsertGraphFromPath
- Serializable
- Serializable
- Product
- Equals
- InsertGraph
- GraphStoreRequest
- GraphStoreProtocol
- ClientHttpRequest
- Request
- ClientAPIProtocol
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
InsertGraphFromPath(path: Path, modelFormat: RDFFormat, graphIri: Option[IRI] = None, mergeGraphs: Boolean = false, context: Option[Any] = None)
- path
the local filesystem path 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
context: Option[Any]
- Definition Classes
- InsertGraphFromPath → GraphStoreRequest
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
graphIri: Option[IRI]
- Definition Classes
- InsertGraphFromPath → InsertGraph
-
val
httpMethod: HttpMethod
- returns
the HTTP Method to be used to communicate with the endpoint
- Definition Classes
- InsertGraph → ClientHttpRequest
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
mergeGraphs: Boolean
- Definition Classes
- InsertGraphFromPath → InsertGraph
-
val
modelFormat: RDFFormat
- Definition Classes
- InsertGraphFromPath → InsertGraph
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: Path
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )