Class WrapperQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.WrapperQuery
- All Implemented Interfaces:
QueryVariant,JsonpSerializable
@JsonpDeserializable public class WrapperQuery extends QueryBase implements QueryVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWrapperQuery.BuilderBuilder forWrapperQuery.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WrapperQuery>_DESERIALIZERJson deserializer forWrapperQuery -
Method Summary
Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.static WrapperQueryof(java.util.function.Function<WrapperQuery.Builder,ObjectBuilder<WrapperQuery>> fn)java.lang.Stringquery()Required - A base64 encoded query.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWrapperQueryDeserializer(ObjectDeserializer<WrapperQuery.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forWrapperQuery
-
-
Method Details
-
of
public static WrapperQuery of(java.util.function.Function<WrapperQuery.Builder,ObjectBuilder<WrapperQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
query
public final java.lang.String query()Required - A base64 encoded query. The binary data format can be any of JSON, YAML, CBOR or SMILE encodingsAPI name:
query -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupWrapperQueryDeserializer
-