java.lang.Object
org.apache.jena.rdfpatch.binary.RDFPatchReaderBinary
- All Implemented Interfaces:
PatchProcessor
Read a binary patch.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(RDFChanges processor) static PatchProcessor
create
(InputStream input) static org.apache.jena.graph.Node
fromThrift
(org.apache.jena.riot.thrift.wire.RDF_Term term) static RDFPatch
read
(InputStream input) Read input stream and produce anRDFPatch
.static void
read
(InputStream input, RDFChanges changes) Read and applystatic void
read
(org.apache.thrift.protocol.TProtocol protocol, RDFChanges changes) static PatchHeader
readHeader
(InputStream input) Read input stream and produce aPatchHeader
.
-
Method Details
-
apply
- Specified by:
apply
in interfacePatchProcessor
-
create
-
read
Read input stream and produce anRDFPatch
. This operation actively reads the patch into memory. Seeread(InputStream, RDFChanges)
to stream it to a chnage processor. Create anPatchReaderBinary
object withcreate(java.io.InputStream)
to create a delayed read processor. SeeRDFPatchOps.collect(org.apache.jena.rdfpatch.RDFPatch)
to make sure a patch has been read. -
readHeader
Read input stream and produce aPatchHeader
. The stream is read during this call. -
read
Read and apply -
read
-
fromThrift
public static org.apache.jena.graph.Node fromThrift(org.apache.jena.riot.thrift.wire.RDF_Term term)
-