接口 ResultStreamer

  • 所有已知实现类:
    AbstractDataResult, DocResultImpl, RowResultImpl, SqlMultiResult, SqlSingleResult

    public interface ResultStreamer
    A result streamer is a result object that is streaming results from the current connection. It allows to stream as long as nothing else needs to happen on the connection. Once something else needs to happen the streamed is notified to "complete streaming" at which point he can throw an exception, discard rows, buffer rows, etc. The connection is then free to execute the next command.
    • 方法详细资料

      • finishStreaming

        void finishStreaming()
        Finish the result streaming. This happens if a new command is started or the warnings/etc are requested. This is safe to call multiple times and only has an effect the first time.