public abstract class SmoothingModel extends java.lang.Object implements NamedWriteable, ToXContent
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, wait
getWriteableName
isFragment
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
protected abstract int doHashCode()
public static SmoothingModel fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOException
public 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