Class IntervalsAllOf
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.IntervalsAllOf
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,IntervalsQueryVariant,IntervalsVariant,ToCopyableBuilder<IntervalsAllOf.Builder,IntervalsAllOf>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IntervalsAllOf
extends Object
implements IntervalsVariant, IntervalsQueryVariant, PlainJsonSerializable, ToCopyableBuilder<IntervalsAllOf.Builder,IntervalsAllOf>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IntervalsAllOf> Json deserializer forIntervalsAllOf -
Method Summary
Modifier and TypeMethodDescriptionIntervalsvariant kind.IntervalsQueryvariant kind.static IntervalsAllOf.Builderbuilder()booleanfinal IntervalsFilterfilter()API name:filterinthashCode()Required - An array of rules to combine.final IntegermaxGaps()Maximum number of positions between the matching terms.static IntervalsAllOffinal Booleanordered()Iftrue, intervals produced by the rules should appear in the order in which they are specified.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.query_dsl.IntervalsVariant
toIntervalsMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forIntervalsAllOf
-
-
Method Details
-
of
-
_intervalsKind
Intervalsvariant kind.- Specified by:
_intervalsKindin interfaceIntervalsVariant
-
_intervalsQueryKind
IntervalsQueryvariant kind.- Specified by:
_intervalsQueryKindin interfaceIntervalsQueryVariant
-
filter
API name:filter -
intervals
Required - An array of rules to combine. All rules must produce a match in a document for the overall source to match.API name:
intervals -
maxGaps
Maximum number of positions between the matching terms. Intervals produced by the rules further apart than this are not considered matches.API name:
max_gaps -
ordered
Iftrue, intervals produced by the rules should appear in the order in which they are specified.API name:
ordered -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IntervalsAllOf.Builder,IntervalsAllOf> - Returns:
- a new builder instance.
-
builder
-
setupIntervalsAllOfDeserializer
protected static void setupIntervalsAllOfDeserializer(ObjectDeserializer<IntervalsAllOf.Builder> op) -
hashCode
public int hashCode() -
equals
-