Class MemoryEstimation
java.lang.Object
org.elasticsearch.client.ml.dataframe.explain.MemoryEstimation
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class MemoryEstimation 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 ParseFieldEXPECTED_MEMORY_WITH_DISKstatic ParseFieldEXPECTED_MEMORY_WITHOUT_DISKstatic ConstructingObjectParser<MemoryEstimation,java.lang.Void>PARSER -
Constructor Summary
Constructors Constructor Description MemoryEstimation(ByteSizeValue expectedMemoryWithoutDisk, ByteSizeValue expectedMemoryWithDisk) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)ByteSizeValuegetExpectedMemoryWithDisk()ByteSizeValuegetExpectedMemoryWithoutDisk()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Constructor Details
-
MemoryEstimation
public MemoryEstimation(@Nullable ByteSizeValue expectedMemoryWithoutDisk, @Nullable ByteSizeValue expectedMemoryWithDisk)
-
-
Method Details
-
getExpectedMemoryWithoutDisk
-
getExpectedMemoryWithDisk
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-