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 classChunkingConfig.ModeNested 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 ParseFieldMODE_FIELDstatic ConstructingObjectParser<ChunkingConfig,java.lang.Void>PARSERstatic ParseFieldTIME_SPAN_FIELD -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)TimeValuegetTimeSpan()inthashCode()static ChunkingConfignewAuto()static ChunkingConfignewManual(TimeValue timeSpan)static ChunkingConfignewOff()XContentBuildertoXContent(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:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
newAuto
-
newOff
-
newManual
-