Class Datafeed
java.lang.Object
co.elastic.clients.elasticsearch.ml.Datafeed
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Datafeed extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatafeed.BuilderBuilder forDatafeed. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Datafeed>_DESERIALIZERJson deserializer forDatafeed -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Aggregation>aggregations()API name:aggregationsDatafeedAuthorizationauthorization()The security privileges that the datafeed uses to run its queries.ChunkingConfigchunkingConfig()API name:chunking_configjava.lang.StringdatafeedId()Required - API name:datafeed_idDelayedDataCheckConfigdelayedDataCheckConfig()Required - API name:delayed_data_check_configTimefrequency()API name:frequencyjava.util.List<java.lang.String>indexes()API name:indexesjava.util.List<java.lang.String>indices()Required - API name:indicesIndicesOptionsindicesOptions()API name:indices_optionsjava.lang.StringjobId()Required - API name:job_idjava.lang.IntegermaxEmptySearches()API name:max_empty_searchesstatic Datafeedof(java.util.function.Function<Datafeed.Builder,ObjectBuilder<Datafeed>> fn)Queryquery()Required - API name:queryTimequeryDelay()API name:query_delayjava.util.Map<java.lang.String,RuntimeField>runtimeMappings()API name:runtime_mappingsjava.util.Map<java.lang.String,ScriptField>scriptFields()API name:script_fieldsjava.lang.IntegerscrollSize()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 voidsetupDatafeedDeserializer(ObjectDeserializer<Datafeed.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeed
-
-
Method Details
-
of
public static Datafeed of(java.util.function.Function<Datafeed.Builder,ObjectBuilder<Datafeed>> fn) -
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
public final java.lang.String datafeedId()Required - API name:datafeed_id -
frequency
API name:frequency -
indices
public final java.util.List<java.lang.String> indices()Required - API name:indices -
indexes
public final java.util.List<java.lang.String> indexes()API name:indexes -
jobId
public final java.lang.String jobId()Required - API name:job_id -
maxEmptySearches
@Nullable public final java.lang.Integer maxEmptySearches()API name:max_empty_searches -
query
Required - API name:query -
queryDelay
API name:query_delay -
scriptFields
API name:script_fields -
scrollSize
@Nullable public final java.lang.Integer 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
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupDatafeedDeserializer
-