Package org.apache.druid.server
Interface QueryResultPusher.Writer
-
- All Superinterfaces:
AutoCloseable,Closeable
- Enclosing class:
- QueryResultPusher
public static interface QueryResultPusher.Writer extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteResponseEnd()End of the response.voidwriteResponseStart()Start of the response, called once per writer.voidwriteRow(Object obj)Write a row
-
-
-
Method Detail
-
writeResponseStart
void writeResponseStart() throws IOExceptionStart of the response, called once per writer.- Throws:
IOException
-
writeRow
void writeRow(Object obj) throws IOException
Write a row- Parameters:
obj- object representing the row- Throws:
IOException
-
writeResponseEnd
void writeResponseEnd() throws IOExceptionEnd of the response. Must allow the user to know that they have read all data successfully.- Throws:
IOException
-
-