Class TypeQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.TypeQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant
@JsonpDeserializable public class TypeQuery extends QueryBase implements QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeQuery.BuilderBuilder forTypeQuery.-
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<TypeQuery>_DESERIALIZERJson deserializer forTypeQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.static TypeQueryof(java.util.function.Function<TypeQuery.Builder,ObjectBuilder<TypeQuery>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTypeQueryDeserializer(ObjectDeserializer<TypeQuery.Builder> op)java.lang.Stringvalue()Required - API name:value-
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<TypeQuery> _DESERIALIZER
Json deserializer forTypeQuery
-
-
Method Detail
-
of
public static TypeQuery of(java.util.function.Function<TypeQuery.Builder,ObjectBuilder<TypeQuery>> fn)
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
value
public final java.lang.String value()
Required - API name:value
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classQueryBase
-
setupTypeQueryDeserializer
protected static void setupTypeQueryDeserializer(ObjectDeserializer<TypeQuery.Builder> op)
-
-