Class BinaryQueryResultWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.binary.BinaryQueryResultWriterFactory
-
- All Implemented Interfaces:
TupleQueryResultWriterFactory
public class BinaryQueryResultWriterFactory extends Object implements TupleQueryResultWriterFactory
ATupleQueryResultWriterFactory
for writers of binary query results.- Author:
- Arjohn Kampman
-
-
Constructor Summary
Constructors Constructor Description BinaryQueryResultWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleQueryResultFormat
getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.BINARY
.TupleQueryResultWriter
getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.
-
-
-
Method Detail
-
getTupleQueryResultFormat
public TupleQueryResultFormat getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.BINARY
.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultWriterFactory
-
getWriter
public TupleQueryResultWriter getWriter(OutputStream out)
Returns a new instance of BinaryQueryResultWriter.- Specified by:
getWriter
in interfaceTupleQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-
-