Class PreviewTransformResponse<TTransform>
java.lang.Object
co.elastic.clients.elasticsearch.transform.PreviewTransformResponse<TTransform>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PreviewTransformResponse<TTransform>
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PreviewTransformResponse<Object>>
Json deserializer forPreviewTransformResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TTransform>
JsonpDeserializer<PreviewTransformResponse<TTransform>>createPreviewTransformResponseDeserializer
(JsonpDeserializer<TTransform> tTransformDeserializer) Create a JSON deserializer for PreviewTransformResponsefinal IndexState
Required - API name:generated_dest_index
static <TTransform>
PreviewTransformResponse<TTransform>of
(Function<PreviewTransformResponse.Builder<TTransform>, ObjectBuilder<PreviewTransformResponse<TTransform>>> fn) final List<TTransform>
preview()
Required - API name:preview
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 <TTransform>
voidsetupPreviewTransformResponseDeserializer
(ObjectDeserializer<PreviewTransformResponse.Builder<TTransform>> op, JsonpDeserializer<TTransform> tTransformDeserializer) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPreviewTransformResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TTransform> PreviewTransformResponse<TTransform> of(Function<PreviewTransformResponse.Builder<TTransform>, ObjectBuilder<PreviewTransformResponse<TTransform>>> fn) -
generatedDestIndex
Required - API name:generated_dest_index
-
preview
Required - API name:preview
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
createPreviewTransformResponseDeserializer
public static <TTransform> JsonpDeserializer<PreviewTransformResponse<TTransform>> createPreviewTransformResponseDeserializer(JsonpDeserializer<TTransform> tTransformDeserializer) Create a JSON deserializer for PreviewTransformResponse -
setupPreviewTransformResponseDeserializer
protected static <TTransform> void setupPreviewTransformResponseDeserializer(ObjectDeserializer<PreviewTransformResponse.Builder<TTransform>> op, JsonpDeserializer<TTransform> tTransformDeserializer)
-