Package org.elasticsearch.index.query
Class IntervalsSourceProvider.Disjunction
java.lang.Object
org.elasticsearch.index.query.IntervalsSourceProvider
org.elasticsearch.index.query.IntervalsSourceProvider.Disjunction
- All Implemented Interfaces:
NamedWriteable
,Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentFragment
- Enclosing class:
- IntervalsSourceProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.query.IntervalsSourceProvider
IntervalsSourceProvider.Combine, IntervalsSourceProvider.Disjunction, IntervalsSourceProvider.Fuzzy, IntervalsSourceProvider.IntervalFilter, IntervalsSourceProvider.Match, IntervalsSourceProvider.Prefix, IntervalsSourceProvider.Wildcard
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorDescriptionDisjunction(List<IntervalsSourceProvider> subSources, IntervalsSourceProvider.IntervalFilter filter)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
extractFields(Set<String> fields)
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
org.apache.lucene.queries.intervals.IntervalsSource
getSource(SearchExecutionContext ctx, MappedFieldType fieldType)
Returns the name of the writeable objectint
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Disjunction
public Disjunction(List<IntervalsSourceProvider> subSources, IntervalsSourceProvider.IntervalFilter filter) -
Disjunction
- Throws:
IOException
-
-
Method Details
-
getSource
public org.apache.lucene.queries.intervals.IntervalsSource getSource(SearchExecutionContext ctx, 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
Description copied from interface:NamedWriteable
Returns the name of the writeable object -
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Throws:
IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Throws:
IOException
-
fromXContent
public static IntervalsSourceProvider.Disjunction fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-