Package org.elasticsearch.index.query
Class IntervalsSourceProvider.Fuzzy
java.lang.Object
org.elasticsearch.index.query.IntervalsSourceProvider
org.elasticsearch.index.query.IntervalsSourceProvider.Fuzzy
- All Implemented Interfaces:
NamedWriteable,Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- Enclosing class:
- IntervalsSourceProvider
public static class IntervalsSourceProvider.Fuzzy extends 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.WildcardNested 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.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAME -
Constructor Summary
Constructors Constructor Description Fuzzy(java.lang.String term, int prefixLength, boolean transpositions, Fuzziness fuzziness, java.lang.String analyzer, java.lang.String useField)Fuzzy(StreamInput in) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)voidextractFields(java.util.Set<java.lang.String> fields)static IntervalsSourceProvider.FuzzyfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)org.apache.lucene.queries.intervals.IntervalsSourcegetSource(QueryShardContext context, MappedFieldType fieldType)java.lang.StringgetWriteableName()Returns the name of the writeable objectinthashCode()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Field Details
-
NAME
public static final java.lang.String NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getSource
public org.apache.lucene.queries.intervals.IntervalsSource getSource(QueryShardContext context, MappedFieldType fieldType)- Specified by:
getSourcein classIntervalsSourceProvider
-
extractFields
public void extractFields(java.util.Set<java.lang.String> fields)- Specified by:
extractFieldsin classIntervalsSourceProvider
-
equals
public boolean equals(java.lang.Object o)- Specified by:
equalsin classIntervalsSourceProvider
-
hashCode
public int hashCode()- Specified by:
hashCodein classIntervalsSourceProvider
-
getWriteableName
public java.lang.String getWriteableName()Description copied from interface:NamedWriteableReturns the name of the writeable object -
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
java.io.IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Throws:
java.io.IOException
-
fromXContent
public static IntervalsSourceProvider.Fuzzy fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-