public class TRDF extends Object
Modifier and Type | Field and Description |
---|---|
static RDF_ANY |
ANY |
static int |
InputBufferSize |
static int |
OutputBufferSize |
static RDF_Term |
tANY
The Thrift RDF Term 'ANY'
|
static RDF_Term |
tUNDEF |
static RDF_UNDEF |
UNDEF
The Thrift RDF Term 'UNDEF'
|
Constructor and Description |
---|
TRDF() |
Modifier and Type | Method and Description |
---|---|
static void |
exception(org.apache.thrift.TException ex) |
static void |
flush(org.apache.thrift.protocol.TProtocol protocol)
Flush a TProtocol; expections converted to RiotException
|
static void |
flush(org.apache.thrift.transport.TTransport transport)
Flush a TTransport; expections converted to RiotException
|
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 |
protocol(String filename)
Decode the contents of the input stream and send to the StreamRDF.
|
static org.apache.thrift.protocol.TProtocol |
protocol(org.apache.thrift.transport.TTransport transport) |
static void |
visit(RDF_StreamRow row,
VisitorStreamRowTRDF visitor) |
public static final int InputBufferSize
public static final int OutputBufferSize
public static final RDF_ANY ANY
public static final RDF_Term tANY
public static final RDF_UNDEF UNDEF
public static final RDF_Term tUNDEF
public static org.apache.thrift.protocol.TProtocol protocol(InputStream in)
in
- InputStreampublic static org.apache.thrift.protocol.TProtocol protocol(OutputStream out)
out
- OutputStreampublic static org.apache.thrift.protocol.TProtocol protocol(String filename)
filename
- public static org.apache.thrift.protocol.TProtocol protocol(org.apache.thrift.transport.TTransport transport)
public static void flush(org.apache.thrift.protocol.TProtocol protocol)
public static void flush(org.apache.thrift.transport.TTransport transport)
public static void visit(RDF_StreamRow row, VisitorStreamRowTRDF visitor)
public static void exception(org.apache.thrift.TException ex)
Licenced under the Apache License, Version 2.0