Class TimingStats
java.lang.Object
org.elasticsearch.client.ml.dataframe.stats.classification.TimingStats
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class TimingStats extends java.lang.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 ParseField
ELAPSED_TIME
static ParseField
ITERATION_TIME
static ConstructingObjectParser<TimingStats,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description TimingStats(TimeValue elapsedTime, TimeValue iterationTime)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
TimeValue
getElapsedTime()
TimeValue
getIterationTime()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
Method Details
-
getElapsedTime
-
getIterationTime
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-