Class ClearScrollResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.ClearScrollResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClearScrollResponse>Json deserializer forClearScrollResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intnumFreed()Required - The number of scrolling search requests cleared.static ClearScrollResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal booleanRequired - Iftrue, the request succeeded.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClearScrollResponse
-
-
Method Details
-
of
public static ClearScrollResponse of(Function<ClearScrollResponse.Builder, ObjectBuilder<ClearScrollResponse>> fn) -
succeeded
public final boolean succeeded()Required - Iftrue, the request succeeded. This does not indicate whether any scrolling search requests were cleared.API name:
succeeded -
numFreed
public final int numFreed()Required - The number of scrolling search requests cleared.API name:
num_freed -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClearScrollResponseDeserializer
protected static void setupClearScrollResponseDeserializer(ObjectDeserializer<ClearScrollResponse.Builder> op)
-