Class IntervalsMatch
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.IntervalsMatch
-
- All Implemented Interfaces:
JsonpSerializable
,IntervalsQueryVariant
,IntervalsVariant
@JsonpDeserializable public class IntervalsMatch extends java.lang.Object implements IntervalsQueryVariant, IntervalsVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntervalsMatch.Builder
Builder forIntervalsMatch
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IntervalsMatch>
_DESERIALIZER
Json deserializer forIntervalsMatch
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Intervals.Kind
_intervalsKind()
Intervals variant kind.IntervalsQuery.Kind
_intervalsQueryKind()
IntervalsQuery variant kind.java.lang.String
analyzer()
API name:analyzer
IntervalsFilter
filter()
API name:filter
java.lang.Integer
maxGaps()
API name:max_gaps
static IntervalsMatch
of(java.util.function.Function<IntervalsMatch.Builder,ObjectBuilder<IntervalsMatch>> fn)
java.lang.Boolean
ordered()
API name:ordered
java.lang.String
query()
Required - API name:query
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
setupIntervalsMatchDeserializer(ObjectDeserializer<IntervalsMatch.Builder> op)
IntervalsMatch.Builder
toBuilder()
java.lang.String
useField()
API name:use_field
-
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.IntervalsVariant
_toIntervals
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IntervalsMatch> _DESERIALIZER
Json deserializer forIntervalsMatch
-
-
Method Detail
-
of
public static IntervalsMatch of(java.util.function.Function<IntervalsMatch.Builder,ObjectBuilder<IntervalsMatch>> fn)
-
_intervalsQueryKind
public IntervalsQuery.Kind _intervalsQueryKind()
IntervalsQuery variant kind.- Specified by:
_intervalsQueryKind
in interfaceIntervalsQueryVariant
-
_intervalsKind
public Intervals.Kind _intervalsKind()
Intervals variant kind.- Specified by:
_intervalsKind
in interfaceIntervalsVariant
-
analyzer
@Nullable public final java.lang.String analyzer()
API name:analyzer
-
maxGaps
@Nullable public final java.lang.Integer maxGaps()
API name:max_gaps
-
ordered
@Nullable public final java.lang.Boolean ordered()
API name:ordered
-
query
public final java.lang.String query()
Required - API name:query
-
useField
@Nullable public final java.lang.String useField()
API name:use_field
-
filter
@Nullable public final IntervalsFilter filter()
API name:filter
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
toBuilder
public IntervalsMatch.Builder toBuilder()
-
setupIntervalsMatchDeserializer
protected static void setupIntervalsMatchDeserializer(ObjectDeserializer<IntervalsMatch.Builder> op)
-
-