Class PutDatafeedRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PutDatafeedRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutDatafeedRequest
extends RequestBase
implements JsonpSerializable
Instantiates a datafeed.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutDatafeedRequest>Json deserializer forPutDatafeedRequeststatic final Endpoint<PutDatafeedRequest,PutDatafeedResponse, ErrorResponse> Endpoint "ml.put_datafeed". -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,Aggregation> API name:aggregationsfinal BooleanIgnore if the source indices expressions resolves to no concrete indices (default: true)final ChunkingConfigAPI name:chunking_configfinal StringRequired - The ID of the datafeed to createfinal DelayedDataCheckConfigAPI name:delayed_data_check_configfinal List<ExpandWildcard>Whether source index expressions should get expanded to open or closed indices (default: open)final TimeAPI name:frequencyfinal BooleanIgnore indices that are marked as throttled (default: true)final BooleanIgnore unavailable indexes (default: false)indices()API name:indicesfinal IndicesOptionsAPI name:indices_optionsfinal StringjobId()API name:job_idfinal IntegerAPI name:max_empty_searchesstatic PutDatafeedRequestfinal Queryquery()API name:queryfinal TimeAPI name:query_delayfinal Map<String,RuntimeField> API name:runtime_mappingsfinal Map<String,ScriptField> API name:script_fieldsfinal IntegerAPI name:scroll_sizevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutDatafeedRequest -
_ENDPOINT
Endpoint "ml.put_datafeed".
-
-
Method Details
-
of
public static PutDatafeedRequest of(Function<PutDatafeedRequest.Builder, ObjectBuilder<PutDatafeedRequest>> fn) -
aggregations
API name:aggregations -
allowNoIndices
Ignore if the source indices expressions resolves to no concrete indices (default: true)API name:
allow_no_indices -
chunkingConfig
API name:chunking_config -
datafeedId
Required - The ID of the datafeed to createAPI name:
datafeed_id -
delayedDataCheckConfig
API name:delayed_data_check_config -
expandWildcards
Whether source index expressions should get expanded to open or closed indices (default: open)API name:
expand_wildcards -
frequency
API name:frequency -
ignoreThrottled
Ignore indices that are marked as throttled (default: true)API name:
ignore_throttled -
indices
API name:indices -
indicesOptions
API name:indices_options -
jobId
API name:job_id -
maxEmptySearches
API name:max_empty_searches -
query
API name:query -
queryDelay
API name:query_delay -
runtimeMappings
API name:runtime_mappings -
scriptFields
API name:script_fields -
scrollSize
API name:scroll_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPutDatafeedRequestDeserializer
protected static void setupPutDatafeedRequestDeserializer(ObjectDeserializer<PutDatafeedRequest.Builder> op)
-