NamedWriteable, Writeable, ToXContent, ToXContentFragmentpublic abstract class SearchExtBuilder extends java.lang.Object implements NamedWriteable, ToXContentFragment
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.SearchExtSpecToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
SearchExtBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract boolean |
equals(java.lang.Object obj) |
|
abstract int |
hashCode() |
getWriteableNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoXContentisFragment