Class FlushJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.FlushJobRequest
- All Implemented Interfaces:
JsonpSerializable
Forces any buffered data to be processed by the job. 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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<FlushJobRequest>
Json deserializer forFlushJobRequest
static final Endpoint<FlushJobRequest,
FlushJobResponse, ErrorResponse> Endpoint "ml.flush_job
". -
Method Summary
Modifier and TypeMethodDescriptionfinal DateTime
Refer to the description for theadvance_time
query parameter.final Boolean
Refer to the description for thecalc_interim
query parameter.final DateTime
end()
Refer to the description for theend
query parameter.final String
jobId()
Required - Identifier for the anomaly detection job.static FlushJobRequest
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
final DateTime
skipTime()
Refer to the description for theskip_time
query parameter.final DateTime
start()
Refer to the description for thestart
query parameter.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forFlushJobRequest
-
_ENDPOINT
Endpoint "ml.flush_job
".
-
-
Method Details
-
of
public static FlushJobRequest of(Function<FlushJobRequest.Builder, ObjectBuilder<FlushJobRequest>> fn) -
advanceTime
Refer to the description for theadvance_time
query parameter.API name:
advance_time
-
calcInterim
Refer to the description for thecalc_interim
query parameter.API name:
calc_interim
-
end
Refer to the description for theend
query parameter.API name:
end
-
jobId
Required - Identifier for the anomaly detection job.API name:
job_id
-
skipTime
Refer to the description for theskip_time
query parameter.API name:
skip_time
-
start
Refer to the description for thestart
query parameter.API name:
start
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFlushJobRequestDeserializer
protected static void setupFlushJobRequestDeserializer(ObjectDeserializer<FlushJobRequest.Builder> op)
-