java.lang.Object
org.apache.jena.riot.thrift.TRDF
Support operations for RDF Thrift
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
ensureBuffered
(InputStream input) static OutputStream
ensureBuffered
(OutputStream output) static void
exception
(org.apache.thrift.TException ex) static void
flush
(org.apache.thrift.protocol.TProtocol protocol) Flush a TProtocol; exceptions converted toRiotException
static void
flush
(org.apache.thrift.transport.TTransport transport) Flush a TTransport; exceptions converted toRiotException
static org.apache.thrift.protocol.TProtocol
protocol
(InputStream in) Create Thrift protocol for the InputStream.static org.apache.thrift.protocol.TProtocol
protocol
(OutputStream out) Create Thrift protocol for the OutputStream.static org.apache.thrift.protocol.TProtocol
Decode the contents of the input stream and send to theStreamRDF
.static org.apache.thrift.protocol.TProtocol
protocol
(org.apache.thrift.transport.TTransport transport) static void
visit
(RDF_StreamRow row, VisitorStreamRowTRDF visitor)
-
Field Details
-
ANY
-
tANY
The Thrift RDF Term 'ANY' -
UNDEF
The Thrift RDF Term 'UNDEF' -
tUNDEF
-
-
Constructor Details
-
TRDF
public TRDF()
-
-
Method Details
-
ensureBuffered
-
ensureBuffered
-
protocol
Create Thrift protocol for the InputStream.- Parameters:
in
- InputStream
-
protocol
Create Thrift protocol for the OutputStream. The caller must callflush(TProtocol)
which will flush the underlying (internally buffered) output stream.- Parameters:
out
- OutputStream
-
protocol
Decode the contents of the input stream and send to theStreamRDF
.- Parameters:
filename
-
-
protocol
public static org.apache.thrift.protocol.TProtocol protocol(org.apache.thrift.transport.TTransport transport) -
flush
public static void flush(org.apache.thrift.protocol.TProtocol protocol) Flush a TProtocol; exceptions converted toRiotException
-
flush
public static void flush(org.apache.thrift.transport.TTransport transport) Flush a TTransport; exceptions converted toRiotException
-
visit
-
exception
public static void exception(org.apache.thrift.TException ex)
-