Class Datafeed

java.lang.Object
co.elastic.clients.elasticsearch.ml.Datafeed
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Datafeed extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • aggregations

      public final Map<String,Aggregation> aggregations()
      API name: aggregations
    • authorization

      @Nullable public final DatafeedAuthorization 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

      @Nullable public final ChunkingConfig chunkingConfig()
      API name: chunking_config
    • datafeedId

      public final String datafeedId()
      Required - API name: datafeed_id
    • frequency

      @Nullable public final Time frequency()
      API name: frequency
    • indices

      public final List<String> indices()
      Required - API name: indices
    • indexes

      public final List<String> indexes()
      API name: indexes
    • jobId

      public final String jobId()
      Required - API name: job_id
    • maxEmptySearches

      @Nullable public final Integer maxEmptySearches()
      API name: max_empty_searches
    • query

      public final Query query()
      Required - API name: query
    • queryDelay

      @Nullable public final Time queryDelay()
      API name: query_delay
    • scriptFields

      public final Map<String,ScriptField> scriptFields()
      API name: script_fields
    • scrollSize

      @Nullable public final Integer scrollSize()
      API name: scroll_size
    • delayedDataCheckConfig

      public final DelayedDataCheckConfig delayedDataCheckConfig()
      Required - API name: delayed_data_check_config
    • runtimeMappings

      public final Map<String,RuntimeField> runtimeMappings()
      API name: runtime_mappings
    • indicesOptions

      @Nullable public final IndicesOptions indicesOptions()
      API name: indices_options
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDatafeedDeserializer

      protected static void setupDatafeedDeserializer(ObjectDeserializer<Datafeed.Builder> op)