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 ParseField
EXPECTED_MEMORY_WITH_DISK
static ParseField
EXPECTED_MEMORY_WITHOUT_DISK
static ConstructingObjectParser<MemoryEstimation,java.lang.Void>
PARSER
-
Constructor Summary
Constructors Constructor Description MemoryEstimation(ByteSizeValue expectedMemoryWithoutDisk, ByteSizeValue expectedMemoryWithDisk)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
ByteSizeValue
getExpectedMemoryWithDisk()
ByteSizeValue
getExpectedMemoryWithoutDisk()
int
hashCode()
XContentBuilder
toXContent(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:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-