Class IntervalsMatch
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsMatch
- All Implemented Interfaces:
IntervalsQueryVariant
,IntervalsVariant
,JsonpSerializable
@JsonpDeserializable
public class IntervalsMatch
extends Object
implements IntervalsQueryVariant, IntervalsVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<IntervalsMatch>
Json deserializer forIntervalsMatch
-
Method Summary
Modifier and TypeMethodDescriptionIntervals variant kind.IntervalsQuery variant kind.final String
analyzer()
Analyzer used to analyze terms in the query.final IntervalsFilter
filter()
An optional interval filter.final Integer
maxGaps()
Maximum number of positions between the matching terms.static IntervalsMatch
final Boolean
ordered()
Iftrue
, matching terms must appear in their specified order.final String
query()
Required - Text you wish to find in the provided field.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
useField()
If specified, match intervals from this field rather than the top-level field.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.IntervalsVariant
_toIntervals
-
Field Details
-
_DESERIALIZER
Json deserializer forIntervalsMatch
-
-
Method Details
-
of
-
_intervalsQueryKind
IntervalsQuery variant kind.- Specified by:
_intervalsQueryKind
in interfaceIntervalsQueryVariant
-
_intervalsKind
Intervals variant kind.- Specified by:
_intervalsKind
in interfaceIntervalsVariant
-
analyzer
Analyzer used to analyze terms in the query.API name:
analyzer
-
maxGaps
Maximum number of positions between the matching terms. Terms further apart than this are not considered matches.API name:
max_gaps
-
ordered
Iftrue
, matching terms must appear in their specified order.API name:
ordered
-
query
Required - Text you wish to find in the provided field.API name:
query
-
useField
If specified, match intervals from this field rather than the top-level field. Theterm
is normalized using the search analyzer from this field, unlessanalyzer
is specified separately.API name:
use_field
-
filter
An optional interval filter.API name:
filter
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIntervalsMatchDeserializer
protected static void setupIntervalsMatchDeserializer(ObjectDeserializer<IntervalsMatch.Builder> op)
-