Package org.elasticsearch.search
Class SearchShardTarget
org.elasticsearch.search.SearchShardTarget
- All Implemented Interfaces:
<SearchShardTarget>
,Writeable
The target that the search request was executed on.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
o)
Returns the fully qualified index name, including the index prefix that indicates which cluster results come from.getIndex()
int
hashCode()
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , ,
-
Constructor Details
-
SearchShardTarget
- Throws:
-
SearchShardTarget
public SearchShardTarget( nodeId, ShardId shardId, @Nullable clusterAlias, OriginalIndices originalIndices)
-
-
Method Details
-
getNodeId
@Nullable public getNodeId() -
getNodeIdText
-
getIndex
public getIndex() -
getShardId
-
getOriginalIndices
-
getClusterAlias
@Nullable public getClusterAlias() -
getFullyQualifiedIndexName
public getFullyQualifiedIndexName()Returns the fully qualified index name, including the index prefix that indicates which cluster results come from. -
compareTo
- Specified by:
in interface
<SearchShardTarget>
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
equals
public boolean equals( o)- Overrides:
in class
-
hashCode
public int hashCode()- Overrides:
in class
-
toString
public toString()- Overrides:
in class
-