Package org.elasticsearch.index.engine
Class SegmentsStats.FileStats
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
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
ConstructorsConstructorDescriptionext, long total, long count, long min, long max)
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCount()
getExt()
long
getMax()
long
getMin()
long
getTotal()
static SegmentsStats.FileStats
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.
, , , , , , , , ,
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
FileStats
public FileStats( ext, long total, long count, long min, long max)
-
-
Method Details
-
getExt
public 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- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
-
merge
public static SegmentsStats.FileStats merge(SegmentsStats.FileStats o1, SegmentsStats.FileStats o2) -
toString
public toString()- Overrides:
in class
-