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 class
Datafeed.Builder
Builder forDatafeed
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Datafeed>
_DESERIALIZER
Json deserializer forDatafeed
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Aggregation>
aggregations()
API name:aggregations
DatafeedAuthorization
authorization()
The security privileges that the datafeed uses to run its queries.ChunkingConfig
chunkingConfig()
API name:chunking_config
java.lang.String
datafeedId()
Required - API name:datafeed_id
DelayedDataCheckConfig
delayedDataCheckConfig()
Required - API name:delayed_data_check_config
Time
frequency()
API name:frequency
java.util.List<java.lang.String>
indexes()
API name:indexes
java.util.List<java.lang.String>
indices()
Required - API name:indices
IndicesOptions
indicesOptions()
API name:indices_options
java.lang.String
jobId()
Required - API name:job_id
java.lang.Integer
maxEmptySearches()
API name:max_empty_searches
static Datafeed
of(java.util.function.Function<Datafeed.Builder,ObjectBuilder<Datafeed>> fn)
Query
query()
Required - API name:query
Time
queryDelay()
API name:query_delay
java.util.Map<java.lang.String,RuntimeField>
runtimeMappings()
API name:runtime_mappings
java.util.Map<java.lang.String,ScriptField>
scriptFields()
API name:script_fields
java.lang.Integer
scrollSize()
API name:scroll_size
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDatafeedDeserializer(ObjectDeserializer<Datafeed.Builder> op)
java.lang.String
toString()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDatafeedDeserializer
-