java.lang.Object
org.apache.jena.riot.protobuf.StreamRDF2Protobuf
- All Implemented Interfaces:
AutoCloseable
,StreamRDF
Encode StreamRDF in RDF_StreamRow and send to a handler.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
base declaration seenvoid
close()
static StreamRDF
createDelimited
(OutputStream outputStream, boolean withValues) void
finish()
Finish processingvoid
prefix declaration seenvoid
Quad emittedvoid
start()
Start processingvoid
triple
(org.apache.jena.graph.Triple triple) Triple emittedstatic void
writeBlk
(OutputStream outputStream, Consumer<StreamRDF> stream, boolean withValues)
-
Method Details
-
createDelimited
-
writeBlk
public static void writeBlk(OutputStream outputStream, Consumer<StreamRDF> stream, boolean withValues) -
start
public void start()Description copied from interface:StreamRDF
Start processing -
finish
public void finish()Description copied from interface:StreamRDF
Finish processing -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
base
Description copied from interface:StreamRDF
base declaration seen -
prefix
Description copied from interface:StreamRDF
prefix declaration seen -
triple
public void triple(org.apache.jena.graph.Triple triple) Description copied from interface:StreamRDF
Triple emitted -
quad
Description copied from interface:StreamRDF
Quad emitted
-