java.lang.Object
org.elasticsearch.index.query.IntervalsSourceProvider
- All Implemented Interfaces:
 NamedWriteable,Writeable,ToXContent,ToXContentFragment
- Direct Known Subclasses:
 IntervalsSourceProvider.Combine,IntervalsSourceProvider.Disjunction,IntervalsSourceProvider.Fuzzy,IntervalsSourceProvider.Match,IntervalsSourceProvider.Prefix,IntervalsSourceProvider.Range,IntervalsSourceProvider.Regexp,IntervalsSourceProvider.Wildcard
public abstract class IntervalsSourceProvider
extends Object
implements NamedWriteable, ToXContentFragment
Factory class for 
IntervalsSource
 Built-in sources include IntervalsSourceProvider.Match, which analyzes a text string and converts it
 to a proximity source (phrase, ordered or unordered depending on how
 strict the matching should be); IntervalsSourceProvider.Combine, which allows proximity queries
 between different sub-sources; and IntervalsSourceProvider.Disjunction.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested 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.xcontent.ToXContent
EMPTY, EMPTY_PARAMS - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract voidextractFields(Set<String> fields) static IntervalsSourceProviderfromXContent(XContentParser parser) abstract org.apache.lucene.queries.intervals.IntervalsSourcegetSource(SearchExecutionContext context, MappedFieldType fieldType) abstract inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableNameMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment 
- 
Constructor Details
- 
IntervalsSourceProvider
public IntervalsSourceProvider() 
 - 
 - 
Method Details
- 
getSource
public abstract org.apache.lucene.queries.intervals.IntervalsSource getSource(SearchExecutionContext context, MappedFieldType fieldType) throws IOException - Throws:
 IOException
 - 
extractFields
 - 
hashCode
public abstract int hashCode() - 
equals
 - 
fromXContent
- Throws:
 IOException
 
 -