Class SpanFirstQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.SpanFirstQuery
-
- All Implemented Interfaces:
JsonpSerializable,QueryVariant,SpanQueryVariant
@JsonpDeserializable public class SpanFirstQuery extends QueryBase implements SpanQueryVariant, QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpanFirstQuery.BuilderBuilder forSpanFirstQuery.-
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<SpanFirstQuery>_DESERIALIZERJson deserializer forSpanFirstQuery
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.SpanQuery.Kind_spanQueryKind()SpanQuery variant kind.intend()Required - API name:endSpanQuerymatch()Required - API name:matchstatic SpanFirstQueryof(java.util.function.Function<SpanFirstQuery.Builder,ObjectBuilder<SpanFirstQuery>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSpanFirstQueryDeserializer(ObjectDeserializer<SpanFirstQuery.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
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.SpanQueryVariant
_toSpanQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SpanFirstQuery> _DESERIALIZER
Json deserializer forSpanFirstQuery
-
-
Method Detail
-
of
public static SpanFirstQuery of(java.util.function.Function<SpanFirstQuery.Builder,ObjectBuilder<SpanFirstQuery>> fn)
-
_spanQueryKind
public SpanQuery.Kind _spanQueryKind()
SpanQuery variant kind.- Specified by:
_spanQueryKindin interfaceSpanQueryVariant
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
end
public final int end()
Required - API name:end
-
match
public final SpanQuery match()
Required - API name:match
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classQueryBase
-
setupSpanFirstQueryDeserializer
protected static void setupSpanFirstQueryDeserializer(ObjectDeserializer<SpanFirstQuery.Builder> op)
-
-