public class FetchPhase extends java.lang.Object implements ExecutionPhase
ExecutionPhase.Type
DIRECT_RESPONSE, DIRECT_RESPONSE_LIST, NO_EXECUTION_PHASE
Constructor and Description |
---|
FetchPhase(int executionPhaseId,
java.util.Set<java.lang.String> executionNodes,
java.util.TreeMap<java.lang.String,java.lang.Integer> bases,
com.google.common.collect.Multimap<RelationName,java.lang.String> tableIndices,
java.util.Collection<Reference> fetchRefs) |
FetchPhase(org.elasticsearch.common.io.stream.StreamInput in) |
Modifier and Type | Method and Description |
---|---|
<C,R> R |
accept(ExecutionPhaseVisitor<C,R> visitor,
C context) |
java.util.TreeMap<java.lang.String,java.lang.Integer> |
bases() |
boolean |
equals(java.lang.Object o) |
java.util.Collection<Reference> |
fetchRefs() |
int |
hashCode() |
java.lang.String |
name() |
java.util.Set<java.lang.String> |
nodeIds() |
int |
phaseId() |
com.google.common.collect.Multimap<RelationName,java.lang.String> |
tableIndices() |
ExecutionPhase.Type |
type() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public FetchPhase(int executionPhaseId, java.util.Set<java.lang.String> executionNodes, java.util.TreeMap<java.lang.String,java.lang.Integer> bases, com.google.common.collect.Multimap<RelationName,java.lang.String> tableIndices, java.util.Collection<Reference> fetchRefs)
public FetchPhase(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
java.io.IOException
public java.util.Collection<Reference> fetchRefs()
public ExecutionPhase.Type type()
type
in interface ExecutionPhase
public java.lang.String name()
name
in interface ExecutionPhase
public int phaseId()
phaseId
in interface ExecutionPhase
public java.util.Set<java.lang.String> nodeIds()
nodeIds
in interface ExecutionPhase
public <C,R> R accept(ExecutionPhaseVisitor<C,R> visitor, C context)
accept
in interface ExecutionPhase
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
writeTo
in interface org.elasticsearch.common.io.stream.Writeable
java.io.IOException
public com.google.common.collect.Multimap<RelationName,java.lang.String> tableIndices()
public java.util.TreeMap<java.lang.String,java.lang.Integer> bases()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object