|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.BinaryTableResultWriter
Writer for the binary table result format. The format is explained in BinaryTableResultConstants.
BinaryTableResultConstants| Field Summary |
| 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 | |
BinaryTableResultWriter(OutputStream out)
Creates a new writer for the binary result format that will write the results to the supplied OutputStream. |
|
| Method Summary | |
void |
endTableQueryResult()
Indicates the end of a table-like query result. |
void |
endTuple()
Indicates the end of a tuple/row. |
void |
error(QueryErrorType errType,
String msg)
Reports an error that has occurred during the query evaluation. |
void |
startTableQueryResult()
Indicates the start of a table-like query result. |
void |
startTableQueryResult(String[] columnHeaders)
Indicates the start of a table-like query result. |
void |
startTuple()
Indicates the start of a tuple/row. |
void |
tupleValue(Value value)
Delivers the next value in the current tuple/row. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BinaryTableResultWriter(OutputStream out)
| Method Detail |
public void startTableQueryResult()
throws IOException
TableQueryResultListener
startTableQueryResult in interface TableQueryResultListenerIOException
public void startTableQueryResult(String[] columnHeaders)
throws IOException
TableQueryResultListener
startTableQueryResult in interface TableQueryResultListenerIOException
public void endTableQueryResult()
throws IOException
TableQueryResultListener
endTableQueryResult in interface TableQueryResultListenerIOException
public void startTuple()
throws IOException
TableQueryResultListener
startTuple in interface TableQueryResultListenerIOException
public void endTuple()
throws IOException
TableQueryResultListener
endTuple in interface TableQueryResultListenerIOException
public void tupleValue(Value value)
throws IOException
TableQueryResultListener
tupleValue in interface TableQueryResultListenervalue - The next value in the current tuple/row.
IOException
public void error(QueryErrorType errType,
String msg)
throws IOException
TableQueryResultListener
error in interface TableQueryResultListenererrType - The type of error.msg - A message describing the error.
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||