Class SpanNearQuery
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBase
-
- org.opensearch.client.opensearch._types.query_dsl.SpanNearQuery
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
,QueryVariant
,SpanQueryVariant
@JsonpDeserializable public class SpanNearQuery extends QueryBase implements SpanQueryVariant, QueryVariant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpanNearQuery.Builder
Builder forSpanNearQuery
.-
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<SpanNearQuery>
_DESERIALIZER
Json deserializer forSpanNearQuery
-
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.java.util.List<SpanQuery>
clauses()
Required - API name:clauses
java.lang.Boolean
inOrder()
API name:in_order
static SpanNearQuery
of(java.util.function.Function<SpanNearQuery.Builder,ObjectBuilder<SpanNearQuery>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupSpanNearQueryDeserializer(ObjectDeserializer<SpanNearQuery.Builder> op)
java.lang.Integer
slop()
API name:slop
SpanNearQuery.Builder
toBuilder()
-
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.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
_toQuery, toQuery
-
Methods inherited from interface org.opensearch.client.opensearch._types.query_dsl.SpanQueryVariant
_toSpanQuery
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<SpanNearQuery> _DESERIALIZER
Json deserializer forSpanNearQuery
-
-
Method Detail
-
of
public static SpanNearQuery of(java.util.function.Function<SpanNearQuery.Builder,ObjectBuilder<SpanNearQuery>> fn)
-
_spanQueryKind
public SpanQuery.Kind _spanQueryKind()
SpanQuery variant kind.- Specified by:
_spanQueryKind
in interfaceSpanQueryVariant
-
_queryKind
public Query.Kind _queryKind()
Query variant kind.- Specified by:
_queryKind
in interfaceQueryVariant
-
clauses
public final java.util.List<SpanQuery> clauses()
Required - API name:clauses
-
inOrder
@Nullable public final java.lang.Boolean inOrder()
API name:in_order
-
slop
@Nullable public final java.lang.Integer slop()
API name:slop
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
- Overrides:
serializeInternal
in classQueryBase
-
toBuilder
public SpanNearQuery.Builder toBuilder()
-
setupSpanNearQueryDeserializer
protected static void setupSpanNearQueryDeserializer(ObjectDeserializer<SpanNearQuery.Builder> op)
-
-