java.lang.Object
org.apache.jena.rdfpatch.binary.RDFPatchReaderBinary
- All Implemented Interfaces:
PatchProcessor
Read a binary patch.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(RDFChanges processor) static PatchProcessorcreate(InputStream input) static org.apache.jena.graph.NodefromThrift(org.apache.jena.riot.thrift.wire.RDF_Term term) static RDFPatchread(InputStream input) Read input stream and produce anRDFPatch.static voidread(InputStream input, RDFChanges changes) Read and applystatic voidread(org.apache.thrift.protocol.TProtocol protocol, RDFChanges changes) static PatchHeaderreadHeader(InputStream input) Read input stream and produce aPatchHeader.
-
Method Details
-
apply
- Specified by:
applyin 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 anPatchReaderBinaryobject 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)
-