Module org.elasticsearch.xcore
Class ChunkingConfig
java.lang.Object
org.elasticsearch.xpack.core.ml.datafeed.ChunkingConfig
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentObject
The description of how searches should be chunked.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConstructingObjectParser<ChunkingConfig, Void> static final ParseFieldstatic final ConstructingObjectParser<ChunkingConfig, Void> static final ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanbooleanisManual()static ChunkingConfignewAuto()static ChunkingConfigstatic ChunkingConfignewOff()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
MODE_FIELD
-
TIME_SPAN_FIELD
-
LENIENT_PARSER
-
STRICT_PARSER
-
-
Constructor Details
-
ChunkingConfig
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getTimeSpan
-
isEnabled
public boolean isEnabled() -
isManual
public boolean isManual() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
newAuto
-
newOff
-
newManual
-