Class Datafeed
java.lang.Object
co.elastic.clients.elasticsearch.ml.Datafeed
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Datafeed>Json deserializer forDatafeed -
Method Summary
Modifier and TypeMethodDescriptionfinal Map<String,Aggregation> API name:aggregationsfinal DatafeedAuthorizationThe security privileges that the datafeed uses to run its queries.final ChunkingConfigAPI name:chunking_configfinal StringRequired - API name:datafeed_idfinal DelayedDataCheckConfigRequired - API name:delayed_data_check_configfinal TimeThe interval at which scheduled queries are made while the datafeed runs in real time.indexes()API name:indexesindices()Required - API name:indicesfinal IndicesOptionsAPI name:indices_optionsfinal StringjobId()Required - API name:job_idfinal IntegerAPI name:max_empty_searchesstatic Datafeedfinal Queryquery()Required - 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 voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeed
-
-
Method Details
-
of
-
aggregations
API name:aggregations -
authorization
The security privileges that the datafeed uses to run its queries. If Elastic Stack security features were disabled at the time of the most recent update to the datafeed, this property is omitted.API name:
authorization -
chunkingConfig
API name:chunking_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 -
indexes
API name:indexes -
jobId
Required - API name:job_id -
maxEmptySearches
API name:max_empty_searches -
query
Required - API name:query -
queryDelay
API name:query_delay -
scriptFields
API name:script_fields -
scrollSize
API name:scroll_size -
delayedDataCheckConfig
Required - API name:delayed_data_check_config -
runtimeMappings
API name:runtime_mappings -
indicesOptions
API name:indices_options -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDatafeedDeserializer
-