Package org.apache.jena.riot.thrift
Class TRDF
- java.lang.Object
-
- org.apache.jena.riot.thrift.TRDF
-
public class TRDF extends java.lang.ObjectSupport operations for RDF Thrift
-
-
Field Summary
Fields Modifier and Type Field Description static RDF_ANYANYstatic intInputBufferSizestatic intOutputBufferSizestatic RDF_TermtANYThe Thrift RDF Term 'ANY'static RDF_TermtUNDEFstatic RDF_UNDEFUNDEFThe Thrift RDF Term 'UNDEF'
-
Constructor Summary
Constructors Constructor Description TRDF()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidexception(org.apache.thrift.TException ex)static voidflush(org.apache.thrift.protocol.TProtocol protocol)Flush a TProtocol; exceptions converted toRiotExceptionstatic voidflush(org.apache.thrift.transport.TTransport transport)Flush a TTransport; exceptions converted toRiotExceptionstatic org.apache.thrift.protocol.TProtocolprotocol(java.io.InputStream in)Create Thrift protocol for the InputStream.static org.apache.thrift.protocol.TProtocolprotocol(java.io.OutputStream out)Create Thrift protocol for the OutputStream.static org.apache.thrift.protocol.TProtocolprotocol(java.lang.String filename)Decode the contents of the input stream and send to theStreamRDF.static org.apache.thrift.protocol.TProtocolprotocol(org.apache.thrift.transport.TTransport transport)static voidvisit(RDF_StreamRow row, VisitorStreamRowTRDF visitor)
-
-
-
Field Detail
-
InputBufferSize
public static final int InputBufferSize
- See Also:
- Constant Field Values
-
OutputBufferSize
public static final int OutputBufferSize
- See Also:
- Constant Field Values
-
ANY
public static final RDF_ANY ANY
-
tANY
public static final RDF_Term tANY
The Thrift RDF Term 'ANY'
-
UNDEF
public static final RDF_UNDEF UNDEF
The Thrift RDF Term 'UNDEF'
-
tUNDEF
public static final RDF_Term tUNDEF
-
-
Method Detail
-
protocol
public static org.apache.thrift.protocol.TProtocol protocol(java.io.InputStream in)
Create Thrift protocol for the InputStream.- Parameters:
in- InputStream
-
protocol
public static org.apache.thrift.protocol.TProtocol protocol(java.io.OutputStream out)
Create Thrift protocol for the OutputStream. The caller must callflush(TProtocol)which will flush the underlying (internally buffered) output stream.- Parameters:
out- OutputStream
-
protocol
public static org.apache.thrift.protocol.TProtocol protocol(java.lang.String filename)
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
public static void visit(RDF_StreamRow row, VisitorStreamRowTRDF visitor)
-
exception
public static void exception(org.apache.thrift.TException ex)
-
-