Class UpdateDatafeedResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.UpdateDatafeedResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class UpdateDatafeedResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UpdateDatafeedResponse>Json deserializer forUpdateDatafeedResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,Aggregation> API name:aggregationsfinal DatafeedAuthorizationAPI name:authorizationfinal ChunkingConfigRequired - API name:chunking_configfinal StringRequired - API name:datafeed_idfinal DelayedDataCheckConfigAPI name:delayed_data_check_configfinal TimeThe interval at which scheduled queries are made while the datafeed runs in real time.indices()Required - API name:indicesfinal IndicesOptionsAPI name:indices_optionsfinal StringjobId()Required - API name:job_idfinal IntegerAPI name:max_empty_searchesstatic UpdateDatafeedResponsefinal Queryquery()Required - API name:queryfinal TimeRequired - API name:query_delayfinal Map<String,RuntimeField> API name:runtime_mappingsfinal Map<String,ScriptField> API name:script_fieldsfinal intRequired - API 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 voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forUpdateDatafeedResponse
-
-
Method Details
-
of
public static UpdateDatafeedResponse of(Function<UpdateDatafeedResponse.Builder, ObjectBuilder<UpdateDatafeedResponse>> fn) -
authorization
API name:authorization -
aggregations
API name:aggregations -
chunkingConfig
Required - API name:chunking_config -
delayedDataCheckConfig
API name:delayed_data_check_config -
datafeedId
Required - API name:datafeed_id -
frequency
The interval at which scheduled queries are made while the datafeed runs in real time. The default value is either the bucket span for short bucket spans, or, for longer bucket spans, a sensible fraction of the bucket span. For example:150s. Whenfrequencyis shorter than the bucket span, interim results for the last (partial) bucket are written then eventually overwritten by the full bucket results. If the datafeed uses aggregations, this value must be divisible by the interval of the date histogram aggregation.API name:
frequency -
indices
Required - API name:indices -
indicesOptions
API name:indices_options -
jobId
Required - API name:job_id -
maxEmptySearches
API name:max_empty_searches -
query
Required - API name:query -
queryDelay
Required - API name:query_delay -
runtimeMappings
API name:runtime_mappings -
scriptFields
API name:script_fields -
scrollSize
public final int scrollSize()Required - API name:scroll_size -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupUpdateDatafeedResponseDeserializer
protected static void setupUpdateDatafeedResponseDeserializer(ObjectDeserializer<UpdateDatafeedResponse.Builder> op)
-