Class FlushJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.FlushJobRequest
- All Implemented Interfaces:
JsonpSerializable
@Deprecated
@JsonpDeserializable
public class FlushJobRequest
extends RequestBase
implements JsonpSerializable
Deprecated.
9.1.0 Forcing any buffered data to be processed is deprecated, in
a future major version a datafeed will be required.
Force buffered data to be processed. The flush jobs API is only applicable
when sending data for analysis using the post data API. Depending on the
content of the buffer, then it might additionally calculate new results. Both
flush and close operations are similar, however the flush is more efficient
if you are expecting to send more data for analysis. When flushing, the job
remains open and is available to continue analyzing data. A close operation
additionally prunes and persists the model state to disk and the job must be
opened again before analyzing further data.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FlushJobRequest>Deprecated.Json deserializer forFlushJobRequeststatic final Endpoint<FlushJobRequest,FlushJobResponse, ErrorResponse> Deprecated.Endpoint "ml.flush_job". -
Method Summary
Modifier and TypeMethodDescriptionfinal DateTimeDeprecated.Refer to the description for theadvance_timequery parameter.final BooleanDeprecated.Refer to the description for thecalc_interimquery parameter.final DateTimeend()Deprecated.Refer to the description for theendquery parameter.final StringjobId()Deprecated.Required - Identifier for the anomaly detection job.static FlushJobRequestDeprecated.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Deprecated.Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Deprecated.protected static voidDeprecated.final DateTimeskipTime()Deprecated.Refer to the description for theskip_timequery parameter.final DateTimestart()Deprecated.Refer to the description for thestartquery parameter.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Deprecated.Json deserializer forFlushJobRequest -
_ENDPOINT
Deprecated.Endpoint "ml.flush_job".
-
-
Method Details
-
of
public static FlushJobRequest of(Function<FlushJobRequest.Builder, ObjectBuilder<FlushJobRequest>> fn) Deprecated. -
advanceTime
Deprecated.Refer to the description for theadvance_timequery parameter.API name:
advance_time -
calcInterim
Deprecated.Refer to the description for thecalc_interimquery parameter.API name:
calc_interim -
end
Deprecated.Refer to the description for theendquery parameter.API name:
end -
jobId
Deprecated.Required - Identifier for the anomaly detection job.API name:
job_id -
skipTime
Deprecated.Refer to the description for theskip_timequery parameter.API name:
skip_time -
start
Deprecated.Refer to the description for thestartquery parameter.API name:
start -
serialize
Deprecated.Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
Deprecated. -
setupFlushJobRequestDeserializer
protected static void setupFlushJobRequestDeserializer(ObjectDeserializer<FlushJobRequest.Builder> op) Deprecated.
-