public abstract class SearchExtBuilder extends java.lang.Object implements NamedWriteable, ToXContent
Writeable.writeTo(StreamOutput)
method and
read from the incoming stream, usually done adding a constructor that takes StreamInput
as
an argument.
Registration happens through SearchPlugin.getSearchExts()
, which also needs a CheckedFunction
that's able to parse
the incoming request from the REST layer into the proper SearchExtBuilder
subclass.
NamedWriteable.getWriteableName()
must return the same name as the one used for the registration
of the SearchPlugin.SearchExtSpec
.SearchPlugin.SearchExtSpec
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
SearchExtBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object obj) |
abstract int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getWriteableName
isFragment, toXContent