Package org.opensearch.index.query
Class IntervalsSourceProvider.Match
java.lang.Object
org.opensearch.index.query.IntervalsSourceProvider
org.opensearch.index.query.IntervalsSourceProvider.Match
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.NamedWriteable
,org.opensearch.core.common.io.stream.Writeable
,org.opensearch.core.xcontent.ToXContent
,org.opensearch.core.xcontent.ToXContentFragment
- Enclosing class:
IntervalsSourceProvider
Match interval
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.index.query.IntervalsSourceProvider
IntervalsSourceProvider.Combine, IntervalsSourceProvider.Disjunction, IntervalsSourceProvider.Fuzzy, IntervalsSourceProvider.IntervalFilter, IntervalsSourceProvider.Match, IntervalsSourceProvider.Prefix, IntervalsSourceProvider.Regexp, IntervalsSourceProvider.Wildcard
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Field Summary
FieldsFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionMatch
(String query, int maxGaps, IntervalMode mode, String analyzer, IntervalsSourceProvider.IntervalFilter filter, String useField) Match
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
extractFields
(Set<String> fields) fromXContent
(org.opensearch.core.xcontent.XContentParser parser) org.apache.lucene.queries.intervals.IntervalsSource
getSource
(QueryShardContext context, MappedFieldType fieldType) int
hashCode()
org.opensearch.core.xcontent.XContentBuilder
toXContent
(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
Match
public Match(String query, int maxGaps, IntervalMode mode, String analyzer, IntervalsSourceProvider.IntervalFilter filter, String useField) -
Match
- Throws:
IOException
-
-
Method Details
-
getSource
public org.apache.lucene.queries.intervals.IntervalsSource getSource(QueryShardContext context, MappedFieldType fieldType) throws IOException - Specified by:
getSource
in classIntervalsSourceProvider
- Throws:
IOException
-
extractFields
- Specified by:
extractFields
in classIntervalsSourceProvider
-
equals
- Specified by:
equals
in classIntervalsSourceProvider
-
hashCode
public int hashCode()- Specified by:
hashCode
in classIntervalsSourceProvider
-
getWriteableName
-
writeTo
- Throws:
IOException
-
toXContent
public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-
fromXContent
public static IntervalsSourceProvider.Match fromXContent(org.opensearch.core.xcontent.XContentParser parser)
-