public class PageDownstreamContext extends AbstractExecutionSubContext implements DownstreamExecutionSubContext
ExecutionSubContext.SubContextMode
future, keepAliveListener
IS_ACTIVE_PREDICATE
Constructor and Description |
---|
PageDownstreamContext(int id,
java.lang.String name,
PageDownstream pageDownstream,
Streamer<?>[] streamer,
RamAccountingContext ramAccountingContext,
int numBuckets,
FlatProjectorChain projectorChain) |
Modifier and Type | Method and Description |
---|---|
void |
failure(int bucketIdx,
java.lang.Throwable throwable) |
protected void |
innerClose(java.lang.Throwable throwable) |
protected void |
innerKill(java.lang.Throwable t) |
protected void |
innerPrepare() |
java.lang.String |
name() |
PageDownstreamContext |
pageDownstreamContext(byte inputId) |
void |
setBucket(int bucketIdx,
Bucket rows,
boolean isLast,
PageResultListener pageResultListener) |
Streamer<?>[] |
streamer() |
ExecutionSubContext.SubContextMode |
subContextMode()
by default is PASSIVE, as it does not trigger keep alive on execution context itself
|
cleanup, close, close, future, id, innerStart, isKilled, keepAliveListener, kill, prepare, start
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, future, id, keepAliveListener, kill, prepare, start
public PageDownstreamContext(int id, java.lang.String name, PageDownstream pageDownstream, Streamer<?>[] streamer, RamAccountingContext ramAccountingContext, int numBuckets, @Nullable FlatProjectorChain projectorChain)
public void setBucket(int bucketIdx, Bucket rows, boolean isLast, PageResultListener pageResultListener)
public void failure(int bucketIdx, java.lang.Throwable throwable)
public Streamer<?>[] streamer()
protected void innerClose(@Nullable java.lang.Throwable throwable)
innerClose
in class AbstractExecutionSubContext
protected void innerKill(@Nonnull java.lang.Throwable t)
innerKill
in class AbstractExecutionSubContext
protected void innerPrepare()
innerPrepare
in class AbstractExecutionSubContext
public java.lang.String name()
name
in interface ExecutionSubContext
@Nullable public PageDownstreamContext pageDownstreamContext(byte inputId)
pageDownstreamContext
in interface DownstreamExecutionSubContext
public ExecutionSubContext.SubContextMode subContextMode()
AbstractExecutionSubContext
subContextMode
in interface ExecutionSubContext
subContextMode
in class AbstractExecutionSubContext