Class SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>

java.lang.Object
org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<T,​org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException>>
org.elasticsearch.plugins.SearchPlugin.SearchExtSpec<T>
Enclosing interface:
SearchPlugin

public static class SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>
extends SearchPlugin.SearchExtensionSpec<T,​org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException>>
Specification for a SearchExtBuilder which represents an additional section that can be parsed in a search request (within the ext element).
  • Constructor Summary

    Constructors
    Constructor Description
    SearchExtSpec​(java.lang.String name, Writeable.Reader<? extends T> reader, org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException> parser)  
    SearchExtSpec​(org.elasticsearch.common.ParseField name, Writeable.Reader<? extends T> reader, org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException> parser)  
  • Method Summary

    Methods inherited from class org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec

    getName, getParser, getReader

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SearchExtSpec

      public SearchExtSpec​(org.elasticsearch.common.ParseField name, Writeable.Reader<? extends T> reader, org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException> parser)
    • SearchExtSpec

      public SearchExtSpec​(java.lang.String name, Writeable.Reader<? extends T> reader, org.elasticsearch.common.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,​T,​java.io.IOException> parser)