public class ShardId extends Object implements Streamable, Comparable<ShardId>
| コンストラクタと説明 |
|---|
ShardId(Index index,
int shardId) |
ShardId(String index,
int shardId) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
compareTo(ShardId o) |
boolean |
equals(Object o) |
int |
getId() |
String |
getIndex() |
int |
hashCode() |
int |
id() |
Index |
index() |
void |
readFrom(StreamInput in) |
static ShardId |
readShardId(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public ShardId(String index, int shardId)
public ShardId(Index index, int shardId)
public Index index()
public String getIndex()
public int id()
public int getId()
public static ShardId readShardId(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic int compareTo(ShardId o)
compareTo インタフェース内 Comparable<ShardId>Copyright © 2009–2016. All rights reserved.