Class SpanGapQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.SpanGapQuery
- All Implemented Interfaces:
SpanQueryVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public class SpanGapQuery extends java.lang.Object implements SpanQueryVariant, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpanGapQuery.Builder
Builder forSpanGapQuery
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SpanGapQuery>
_DESERIALIZER
Json deserializer forSpanFirstQuery
-
Constructor Summary
Constructors Constructor Description SpanGapQuery(SpanGapQuery.Builder builder)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Get the type of this object when used as a variantjava.lang.String
field()
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
int
spanWidth()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.SpanQueryVariant
_toSpanQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forSpanFirstQuery
-
-
Constructor Details
-
SpanGapQuery
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Description copied from interface:UnionVariant
Get the type of this object when used as a variant- Specified by:
_variantType
in interfaceUnionVariant
-
field
public java.lang.String field() -
spanWidth
public int spanWidth() -
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-