Class ChunkingConfig
java.lang.Object
org.elasticsearch.client.ml.datafeed.ChunkingConfig
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class ChunkingConfig extends java.lang.Object implements ToXContentObject
The description of how searches should be chunked.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChunkingConfig.Mode
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
MODE_FIELD
static ConstructingObjectParser<ChunkingConfig,java.lang.Void>
PARSER
static ParseField
TIME_SPAN_FIELD
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
TimeValue
getTimeSpan()
int
hashCode()
static ChunkingConfig
newAuto()
static ChunkingConfig
newManual(TimeValue timeSpan)
static ChunkingConfig
newOff()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Method Details
-
getTimeSpan
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
newAuto
-
newOff
-
newManual
-