Class DatafeedTimingStats
java.lang.Object
org.elasticsearch.client.ml.datafeed.DatafeedTimingStats
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class DatafeedTimingStats
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
-
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
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<DatafeedTimingStats,Void>
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionDatafeedTimingStats(String jobId, long searchCount, long bucketCount, double totalSearchTimeMs, Double avgSearchTimePerBucketMs, Double exponentialAvgSearchTimePerHourMs)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getJobId()
long
double
int
hashCode()
toString()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.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 Details
-
JOB_ID
public static final org.elasticsearch.common.xcontent.ParseField JOB_ID -
SEARCH_COUNT
public static final org.elasticsearch.common.xcontent.ParseField SEARCH_COUNT -
BUCKET_COUNT
public static final org.elasticsearch.common.xcontent.ParseField BUCKET_COUNT -
TOTAL_SEARCH_TIME_MS
public static final org.elasticsearch.common.xcontent.ParseField TOTAL_SEARCH_TIME_MS -
AVG_SEARCH_TIME_PER_BUCKET_MS
public static final org.elasticsearch.common.xcontent.ParseField AVG_SEARCH_TIME_PER_BUCKET_MS -
EXPONENTIAL_AVG_SEARCH_TIME_PER_HOUR_MS
public static final org.elasticsearch.common.xcontent.ParseField EXPONENTIAL_AVG_SEARCH_TIME_PER_HOUR_MS -
TYPE
public static final org.elasticsearch.common.xcontent.ParseField TYPE -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<DatafeedTimingStats,Void> PARSER
-
-
Constructor Details
-
DatafeedTimingStats
-
-
Method Details
-
getJobId
-
getSearchCount
public long getSearchCount() -
getBucketCount
public long getBucketCount() -
getTotalSearchTimeMs
public double getTotalSearchTimeMs() -
getAvgSearchTimePerBucketMs
-
getExponentialAvgSearchTimePerHourMs
-
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 interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-