Class ValidateQueryResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.ValidateQueryResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ValidateQueryResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidateQueryResponse.Builder
Builder forValidateQueryResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ValidateQueryResponse>
_DESERIALIZER
Json deserializer forValidateQueryResponse
-
Method Summary
Modifier and Type Method Description java.lang.String
error()
API name:error
java.util.List<IndicesValidationExplanation>
explanations()
API name:explanations
static ValidateQueryResponse
of(java.util.function.Function<ValidateQueryResponse.Builder,ObjectBuilder<ValidateQueryResponse>> fn)
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
setupValidateQueryResponseDeserializer(ObjectDeserializer<ValidateQueryResponse.Builder> op)
ShardStatistics
shards()
API name:_shards
java.lang.String
toString()
boolean
valid()
Required - API name:valid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forValidateQueryResponse
-
-
Method Details
-
of
public static ValidateQueryResponse of(java.util.function.Function<ValidateQueryResponse.Builder,ObjectBuilder<ValidateQueryResponse>> fn) -
explanations
API name:explanations
-
shards
API name:_shards
-
valid
public final boolean valid()Required - API name:valid
-
error
@Nullable public final java.lang.String error()API name:error
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupValidateQueryResponseDeserializer
protected static void setupValidateQueryResponseDeserializer(ObjectDeserializer<ValidateQueryResponse.Builder> op)
-