Class DatafeedTimingStats
- java.lang.Object
-
- org.elasticsearch.client.ml.datafeed.DatafeedTimingStats
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class DatafeedTimingStats extends Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldAVG_SEARCH_TIME_PER_BUCKET_MSstatic ParseFieldBUCKET_COUNTstatic ParseFieldEXPONENTIAL_AVG_SEARCH_TIME_PER_HOUR_MSstatic ParseFieldJOB_IDstatic ConstructingObjectParser<DatafeedTimingStats,Void>PARSERstatic ParseFieldSEARCH_COUNTstatic ParseFieldTOTAL_SEARCH_TIME_MSstatic ParseFieldTYPE-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Constructor Summary
Constructors Constructor Description DatafeedTimingStats(String jobId, long searchCount, long bucketCount, double totalSearchTimeMs, Double avgSearchTimePerBucketMs, Double exponentialAvgSearchTimePerHourMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DoublegetAvgSearchTimePerBucketMs()longgetBucketCount()DoublegetExponentialAvgSearchTimePerHourMs()StringgetJobId()longgetSearchCount()doublegetTotalSearchTimeMs()inthashCode()StringtoString()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
JOB_ID
public static final ParseField JOB_ID
-
SEARCH_COUNT
public static final ParseField SEARCH_COUNT
-
BUCKET_COUNT
public static final ParseField BUCKET_COUNT
-
TOTAL_SEARCH_TIME_MS
public static final ParseField TOTAL_SEARCH_TIME_MS
-
AVG_SEARCH_TIME_PER_BUCKET_MS
public static final ParseField AVG_SEARCH_TIME_PER_BUCKET_MS
-
EXPONENTIAL_AVG_SEARCH_TIME_PER_HOUR_MS
public static final ParseField EXPONENTIAL_AVG_SEARCH_TIME_PER_HOUR_MS
-
TYPE
public static final ParseField TYPE
-
PARSER
public static final ConstructingObjectParser<DatafeedTimingStats,Void> PARSER
-
-
Method Detail
-
getJobId
public String getJobId()
-
getSearchCount
public long getSearchCount()
-
getBucketCount
public long getBucketCount()
-
getTotalSearchTimeMs
public double getTotalSearchTimeMs()
-
getAvgSearchTimePerBucketMs
public Double getAvgSearchTimePerBucketMs()
-
getExponentialAvgSearchTimePerHourMs
public Double getExponentialAvgSearchTimePerHourMs()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-