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