Interface SinkOperator
-
-
Field Summary
-
Fields inherited from interface org.apache.iotdb.db.mpp.execution.operator.Operator
NOT_BLOCKED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabort()Abort the sink handle, discarding all tsBlocks which may still in memory buffer, but blocking readers.voidsend(org.apache.iotdb.tsfile.read.common.block.TsBlock tsBlock)Sends a tsBlock to an unpartitioned buffer.voidsetNoMoreTsBlocks()Notify SinkHandle that no more tsBlocks will be sent.-
Methods inherited from interface org.apache.iotdb.db.mpp.execution.operator.Operator
calculateMaxPeekMemory, calculateMaxReturnSize, calculateRetainedSizeAfterCallingNext, close, getOperatorContext, hasNext, isBlocked, isFinished, next
-
-
-
-
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.
-
-