Module org.elasticsearch.server
Package org.elasticsearch.index.query
Class IntervalsSourceProvider.Range
java.lang.Object
org.elasticsearch.index.query.IntervalsSourceProvider
org.elasticsearch.index.query.IntervalsSourceProvider.Range
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,ToXContent,ToXContentFragment
- Enclosing class:
IntervalsSourceProvider
public static class IntervalsSourceProvider.Range
extends IntervalsSourceProvider
implements VersionedNamedWriteable
-
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.Range, IntervalsSourceProvider.Regexp, IntervalsSourceProvider.WildcardNested 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
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidextractFields(Set<String> fields) fromXContent(XContentParser parser) The minimal version of the recipient this object can be sent toorg.apache.lucene.queries.intervals.IntervalsSourcegetSource(SearchExecutionContext context, MappedFieldType fieldType) Returns the name of the writeable objectinthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
Range
-
Range
- Throws:
IOException
-
-
Method Details
-
getSource
public org.apache.lucene.queries.intervals.IntervalsSource getSource(SearchExecutionContext context, MappedFieldType fieldType) - Specified by:
getSourcein classIntervalsSourceProvider
-
extractFields
- Specified by:
extractFieldsin classIntervalsSourceProvider
-
equals
- Specified by:
equalsin classIntervalsSourceProvider
-
hashCode
public int hashCode()- Specified by:
hashCodein classIntervalsSourceProvider
-
getWriteableName
Description copied from interface:VersionedNamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
Description copied from interface:VersionedNamedWriteableThe minimal version of the recipient this object can be sent to- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
fromXContent
- Throws:
IOException
-