Class DatafeedRunningState
java.lang.Object
co.elastic.clients.elasticsearch.ml.DatafeedRunningState
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DatafeedRunningState>
Json deserializer forDatafeedRunningState
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatafeedRunningState
final boolean
Required - Indicates if the datafeed is "real-time"; meaning that the datafeed has no configuredend
time.final boolean
Required - Indicates whether the datafeed has finished running on the available past data.Provides the latest time interval the datafeed has searched.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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDatafeedRunningState
-
-
Method Details
-
of
public static DatafeedRunningState of(Function<DatafeedRunningState.Builder, ObjectBuilder<DatafeedRunningState>> fn) -
realTimeConfigured
public final boolean realTimeConfigured()Required - Indicates if the datafeed is "real-time"; meaning that the datafeed has no configuredend
time.API name:
real_time_configured
-
realTimeRunning
public final boolean realTimeRunning()Required - Indicates whether the datafeed has finished running on the available past data. For datafeeds without a configuredend
time, this means that the datafeed is now running on "real-time" data.API name:
real_time_running
-
searchInterval
Provides the latest time interval the datafeed has searched.API name:
search_interval
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDatafeedRunningStateDeserializer
protected static void setupDatafeedRunningStateDeserializer(ObjectDeserializer<DatafeedRunningState.Builder> op)
-