Interface SinkOperator

  • All Superinterfaces:
    java.lang.AutoCloseable, Operator

    public interface SinkOperator
    extends Operator
    • Method Detail

      • send

        void send​(org.apache.iotdb.tsfile.read.common.block.TsBlock tsBlock)
        Sends a tsBlock to an unpartitioned buffer. If no-more-tsBlocks has been set, the send tsBlock call is ignored. This can happen with limit queries.
      • setNoMoreTsBlocks

        void setNoMoreTsBlocks()
        Notify SinkHandle that no more tsBlocks will be sent. Any future calls to send a tsBlock are ignored.
      • abort

        void abort()
        Abort the sink handle, discarding all tsBlocks which may still in memory buffer, but blocking readers. It is expected that readers will be unblocked when the failed query is cleaned up.