org.openrdf.sesame.query
Class BinaryTableResultReader
java.lang.Object
org.openrdf.sesame.query.BinaryTableResultReader
- All Implemented Interfaces:
- BinaryTableResultConstants
- public class BinaryTableResultReader
- extends Object
- implements BinaryTableResultConstants
Reader for the binary table result format. The format is explained in
BinaryTableResultConstants.
- Version:
- $Revision: 1.3.4.2 $
- Author:
- Arjohn Kampman
- See Also:
BinaryTableResultConstants
| Fields inherited from interface org.openrdf.sesame.query.BinaryTableResultConstants |
BNODE_RECORD_MARKER, DATATYPE_LITERAL_RECORD_MARKER, ERROR_RECORD_MARKER, FORMAT_VERSION, LANG_LITERAL_RECORD_MARKER, MAGIC_NUMBER, MALFORMED_QUERY_ERROR, NAMESPACE_RECORD_MARKER, NULL_RECORD_MARKER, PLAIN_LITERAL_RECORD_MARKER, QNAME_RECORD_MARKER, QUERY_EVALUATION_ERROR, REPEAT_RECORD_MARKER, TABLE_END_RECORD_MARKER, URI_RECORD_MARKER |
|
Constructor Summary |
BinaryTableResultReader()
Creates a new reader for the binary result format that will use an
instance of org.openrdf.model.impl.ValueFactoryImpl to create
Value objects. |
BinaryTableResultReader(ValueFactory valueFactory)
Creates a new reader for the binary result format that will use the
supplied ValueFactory to create Value objects. |
|
Method Summary |
void |
read(InputStream in,
TableQueryResultListener listener)
Reads a stream containing a binary table result and reports the parsed
results to the supplied TableQueryResultListener. |
BinaryTableResultReader
public BinaryTableResultReader()
- Creates a new reader for the binary result format that will use an
instance of org.openrdf.model.impl.ValueFactoryImpl to create
Value objects.
BinaryTableResultReader
public BinaryTableResultReader(ValueFactory valueFactory)
- Creates a new reader for the binary result format that will use the
supplied ValueFactory to create Value objects.
read
public void read(InputStream in,
TableQueryResultListener listener)
throws IOException
- Reads a stream containing a binary table result and reports the parsed
results to the supplied TableQueryResultListener.
- Throws:
IOException
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.