public final class SearchShardTarget extends java.lang.Object implements Writeable, java.lang.Comparable<SearchShardTarget>
Writeable.Reader<V>, Writeable.Writer<V>
Constructor and Description |
---|
SearchShardTarget(StreamInput in) |
SearchShardTarget(java.lang.String nodeId,
Index index,
int shardId,
java.lang.String clusterAlias) |
SearchShardTarget(java.lang.String nodeId,
ShardId shardId,
java.lang.String clusterAlias,
OriginalIndices originalIndices) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchShardTarget o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getClusterAlias() |
java.lang.String |
getIndex() |
java.lang.String |
getNodeId() |
Text |
getNodeIdText() |
OriginalIndices |
getOriginalIndices() |
ShardId |
getShardId() |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public SearchShardTarget(StreamInput in) throws java.io.IOException
java.io.IOException
public SearchShardTarget(java.lang.String nodeId, ShardId shardId, java.lang.String clusterAlias, OriginalIndices originalIndices)
public SearchShardTarget(java.lang.String nodeId, Index index, int shardId, java.lang.String clusterAlias)
@Nullable public java.lang.String getNodeId()
public Text getNodeIdText()
public java.lang.String getIndex()
public ShardId getShardId()
public OriginalIndices getOriginalIndices()
public java.lang.String getClusterAlias()
public int compareTo(SearchShardTarget o)
compareTo
in interface java.lang.Comparable<SearchShardTarget>
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object