Interface QueryResultPusher.Writer

All Superinterfaces:
AutoCloseable, Closeable
Enclosing class:
QueryResultPusher

public static interface QueryResultPusher.Writer extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    End of the response.
    void
    Start of the response, called once per writer.
    void
    Write a row

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • writeResponseStart

      void writeResponseStart() throws IOException
      Start 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 IOException
      End of the response. Must allow the user to know that they have read all data successfully.
      Throws:
      IOException