public static class FstStats.FstIndexShardStats extends Object implements org.elasticsearch.common.io.stream.Streamable, Serializable, org.elasticsearch.common.xcontent.ToXContent
| Constructor and Description |
|---|
FstStats.FstIndexShardStats() |
FstStats.FstIndexShardStats(org.elasticsearch.index.shard.ShardId shardId,
String type,
ShardSuggestService.FieldType fieldType,
long sizeInBytes) |
| Modifier and Type | Method and Description |
|---|---|
ShardSuggestService.FieldType |
getFieldType() |
org.elasticsearch.index.shard.ShardId |
getShardId() |
long |
getSizeInBytes() |
String |
getType() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
static FstStats.FstIndexShardStats |
readFstIndexShardStats(org.elasticsearch.common.io.stream.StreamInput in) |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public FstStats.FstIndexShardStats()
public FstStats.FstIndexShardStats(org.elasticsearch.index.shard.ShardId shardId,
String type,
ShardSuggestService.FieldType fieldType,
long sizeInBytes)
public org.elasticsearch.index.shard.ShardId getShardId()
public String getType()
public ShardSuggestService.FieldType getFieldType()
public long getSizeInBytes()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamableIOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamableIOExceptionpublic org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentIOExceptionpublic static FstStats.FstIndexShardStats readFstIndexShardStats(org.elasticsearch.common.io.stream.StreamInput in) throws IOException
IOExceptionCopyright © 2011-2014. All Rights Reserved.