Class WrapperQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.WrapperQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant
@JsonpDeserializable public class WrapperQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWrapperQuery.BuilderBuilder forWrapperQuery.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._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
All Methods Static Methods Instance Methods Concrete Methods 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 org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
_toQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<WrapperQuery> _DESERIALIZER
Json deserializer forWrapperQuery
-
-
Method Detail
-
of
public static WrapperQuery of(java.util.function.Function<WrapperQuery.Builder,ObjectBuilder<WrapperQuery>> fn)
-
_queryKind
public Query.Kind _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
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classQueryBase
-
setupWrapperQueryDeserializer
protected static void setupWrapperQueryDeserializer(ObjectDeserializer<WrapperQuery.Builder> op)
-
-