public abstract class SmoothingModel extends java.lang.Object implements NamedWriteable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
SmoothingModel() |
| Modifier and Type | Method and Description |
|---|---|
abstract WordScorer.WordScorerFactory |
buildWordScorerFactory() |
protected abstract boolean |
doEquals(SmoothingModel other)
subtype specific implementation of "equals".
|
protected abstract int |
doHashCode() |
boolean |
equals(java.lang.Object obj) |
static SmoothingModel |
fromXContent(XContentParser parser) |
int |
hashCode() |
protected abstract XContentBuilder |
innerToXContent(XContentBuilder builder,
ToXContent.Params params) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetWriteableNameisFragmentpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectprotected abstract int doHashCode()
public static SmoothingModel fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic abstract WordScorer.WordScorerFactory buildWordScorerFactory()
protected abstract boolean doEquals(SmoothingModel other)
protected abstract XContentBuilder innerToXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException