de.spinscale.elasticsearch.action.suggest.statistics
Class FstStats.FstIndexShardStats

java.lang.Object
  extended by de.spinscale.elasticsearch.action.suggest.statistics.FstStats.FstIndexShardStats
All Implemented Interfaces:
Serializable, org.elasticsearch.common.io.stream.Streamable, org.elasticsearch.common.xcontent.ToXContent
Enclosing class:
FstStats

public static class FstStats.FstIndexShardStats
extends Object
implements org.elasticsearch.common.io.stream.Streamable, Serializable, org.elasticsearch.common.xcontent.ToXContent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
FstStats.FstIndexShardStats()
           
FstStats.FstIndexShardStats(org.elasticsearch.index.shard.ShardId shardId, String type, ShardSuggestService.FieldType fieldType, long sizeInBytes)
           
 
Method Summary
 ShardSuggestService.FieldType getFieldType()
           
 org.elasticsearch.index.shard.ShardId getShardId()
           
 long getSizeInBytes()
           
 String getType()
           
 void readFrom(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FstStats.FstIndexShardStats

public FstStats.FstIndexShardStats()

FstStats.FstIndexShardStats

public FstStats.FstIndexShardStats(org.elasticsearch.index.shard.ShardId shardId,
                                   String type,
                                   ShardSuggestService.FieldType fieldType,
                                   long sizeInBytes)
Method Detail

getShardId

public org.elasticsearch.index.shard.ShardId getShardId()

getType

public String getType()

getFieldType

public ShardSuggestService.FieldType getFieldType()

getSizeInBytes

public long getSizeInBytes()

readFrom

public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
              throws IOException
Specified by:
readFrom in interface org.elasticsearch.common.io.stream.Streamable
Throws:
IOException

writeTo

public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
             throws IOException
Specified by:
writeTo in interface org.elasticsearch.common.io.stream.Streamable
Throws:
IOException

toXContent

public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
                                                                    org.elasticsearch.common.xcontent.ToXContent.Params params)
                                                             throws IOException
Specified by:
toXContent in interface org.elasticsearch.common.xcontent.ToXContent
Throws:
IOException


Copyright © 2011-2013. All Rights Reserved.