Class PostDataRequest<TData>
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PostDataRequest<TData>
- All Implemented Interfaces:
JsonpSerializable
@Deprecated
@JsonpDeserializable
public class PostDataRequest<TData>
extends RequestBase
implements JsonpSerializable
Deprecated.
7.11.0 Posting data directly to anomaly detection jobs is
deprecated, in a future major version a datafeed will be
required.
Send data to an anomaly detection job for analysis.
IMPORTANT: For each job, data can be accepted from only a single connection at a time. It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
- 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<PostDataRequest<Object>>Deprecated.Json deserializer forPostDataRequestbased on named deserializers provided by the callingJsonMapper.static final Endpoint<PostDataRequest<?>,PostDataResponse, ErrorResponse> Deprecated.Endpoint "ml.post_data". -
Method Summary
Modifier and TypeMethodDescriptionstatic <TData> JsonpDeserializer<PostDataRequest<TData>>createPostDataRequestDeserializer(JsonpDeserializer<TData> tDataDeserializer) Deprecated.data()Deprecated.Required - Request body.final StringjobId()Deprecated.Required - Identifier for the anomaly detection job.static <TData> PostDataRequest<TData>of(Function<PostDataRequest.Builder<TData>, ObjectBuilder<PostDataRequest<TData>>> fn) Deprecated.final DateTimeresetEnd()Deprecated.Specifies the end of the bucket resetting range.final DateTimeDeprecated.Specifies the start of the bucket resetting range.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Deprecated.Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Deprecated.Json deserializer forPostDataRequestbased on named deserializers provided by the callingJsonMapper. -
_ENDPOINT
Deprecated.Endpoint "ml.post_data".
-
-
Method Details
-
of
public static <TData> PostDataRequest<TData> of(Function<PostDataRequest.Builder<TData>, ObjectBuilder<PostDataRequest<TData>>> fn) Deprecated. -
jobId
Deprecated.Required - Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.API name:
job_id -
resetEnd
Deprecated.Specifies the end of the bucket resetting range.API name:
reset_end -
resetStart
Deprecated.Specifies the start of the bucket resetting range.API name:
reset_start -
data
Deprecated.Required - Request body. -
serialize
Deprecated.Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createPostDataRequestDeserializer
public static <TData> JsonpDeserializer<PostDataRequest<TData>> createPostDataRequestDeserializer(JsonpDeserializer<TData> tDataDeserializer) Deprecated.
-