Package org.elasticsearch.index.engine
Class SegmentsStats.FileStats
java.lang.Object
org.elasticsearch.index.engine.SegmentsStats.FileStats
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- Enclosing class:
- SegmentsStats
public static class SegmentsStats.FileStats extends java.lang.Object implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
-
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
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
Constructors Constructor Description FileStats(java.lang.String ext, long total, long count, long min, long max)
-
Method Summary
Modifier and Type Method Description long
getCount()
java.lang.String
getExt()
long
getMax()
long
getMin()
long
getTotal()
static SegmentsStats.FileStats
merge(SegmentsStats.FileStats o1, SegmentsStats.FileStats o2)
java.lang.String
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
FileStats
public FileStats(java.lang.String ext, long total, long count, long min, long max)
-
-
Method Details
-
getExt
public java.lang.String getExt() -
getCount
public long getCount() -
getTotal
public long getTotal() -
getMin
public long getMin() -
getMax
public long getMax() -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
merge
public static SegmentsStats.FileStats merge(SegmentsStats.FileStats o1, SegmentsStats.FileStats o2) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-