public class BinaryQueryResultWriter extends Object implements TupleQueryResultWriter
BinaryQueryResultConstants.| Constructor and Description |
|---|
BinaryQueryResultWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
endQueryResult() |
void |
error(QueryErrorType errType,
String msg)
Writes an error msg to the stream.
|
TupleQueryResultFormat |
getTupleQueryResultFormat() |
void |
handleSolution(BindingSet bindingSet) |
void |
startQueryResult(List<String> bindingNames) |
public BinaryQueryResultWriter(OutputStream out)
public final TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat in interface TupleQueryResultWriterpublic void startQueryResult(List<String> bindingNames) throws TupleQueryResultHandlerException
startQueryResult in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic void endQueryResult()
throws TupleQueryResultHandlerException
endQueryResult in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic void handleSolution(BindingSet bindingSet) throws TupleQueryResultHandlerException
handleSolution in interface TupleQueryResultHandlerTupleQueryResultHandlerExceptionpublic void error(QueryErrorType errType, String msg) throws IOException
errType - The error type.msg - The error message.IOException - When the error could not be written to the stream.Copyright © 2001-2013 Aduna. All Rights Reserved.