Class IntervalsSourceProvider.Wildcard

java.lang.Object
org.elasticsearch.index.query.IntervalsSourceProvider
org.elasticsearch.index.query.IntervalsSourceProvider.Wildcard
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment
Enclosing class:
IntervalsSourceProvider

public static class IntervalsSourceProvider.Wildcard
extends IntervalsSourceProvider
  • Field Details

  • Constructor Details

    • Wildcard

      public Wildcard​(java.lang.String pattern, java.lang.String analyzer, java.lang.String useField)
    • Wildcard

      public Wildcard​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getSource

      public org.apache.lucene.queries.intervals.IntervalsSource getSource​(SearchExecutionContext context, MappedFieldType fieldType)
      Specified by:
      getSource in class IntervalsSourceProvider
    • extractFields

      public void extractFields​(java.util.Set<java.lang.String> fields)
      Specified by:
      extractFields in class IntervalsSourceProvider
    • equals

      public boolean equals​(java.lang.Object o)
      Specified by:
      equals in class IntervalsSourceProvider
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class IntervalsSourceProvider
    • getWriteableName

      public java.lang.String getWriteableName()
      Description copied from interface: NamedWriteable
      Returns the name of the writeable object
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write 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.Wildcard fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException
      Throws:
      java.io.IOException