public class FetchContext extends AbstractExecutionSubContext
future, id, logger
Constructor and Description |
---|
FetchContext(FetchPhase phase,
java.lang.String localNodeId,
SharedShardContexts sharedShardContexts,
java.lang.Iterable<? extends Routing> routingIterable) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Hook to cleanup the resources of this context.
|
org.elasticsearch.index.IndexService |
indexService(int readerId) |
void |
innerPrepare() |
protected void |
innerStart() |
java.lang.String |
name() |
org.elasticsearch.index.engine.Engine.Searcher |
searcher(int readerId) |
TableIdent |
tableIdent(int readerId) |
java.util.Map<TableIdent,java.util.Collection<Reference>> |
toFetch() |
addListener, close, close, id, innerClose, innerKill, kill, prepare, start
public FetchContext(FetchPhase phase, java.lang.String localNodeId, SharedShardContexts sharedShardContexts, java.lang.Iterable<? extends Routing> routingIterable)
public java.util.Map<TableIdent,java.util.Collection<Reference>> toFetch()
public void innerPrepare()
innerPrepare
in class AbstractExecutionSubContext
protected void innerStart()
innerStart
in class AbstractExecutionSubContext
public void cleanup()
ExecutionSubContext
cleanup
in interface ExecutionSubContext
cleanup
in class AbstractExecutionSubContext
public java.lang.String name()
@Nonnull public TableIdent tableIdent(int readerId)
@Nonnull public org.elasticsearch.index.engine.Engine.Searcher searcher(int readerId)
@Nonnull public org.elasticsearch.index.IndexService indexService(int readerId)