org.elasticsearch.common.io.stream.NamedWriteable, org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, MetricDetailpublic static final class PrecisionAtK.Detail extends java.lang.Object implements MetricDetail
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
static PrecisionAtK.Detail |
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) |
|
int |
getRelevantRetrieved() |
|
int |
getRetrieved() |
|
java.lang.String |
getWriteableName() |
|
int |
hashCode() |
|
org.elasticsearch.common.xcontent.XContentBuilder |
innerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
Implementations should write their own fields to the
XContentBuilder passed in. |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
getMetricName, toXContentpublic org.elasticsearch.common.xcontent.XContentBuilder innerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
MetricDetailXContentBuilder passed in.innerToXContent in interface MetricDetailjava.io.IOExceptionpublic static PrecisionAtK.Detail fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.Writeablejava.io.IOExceptionpublic java.lang.String getWriteableName()
getWriteableName in interface org.elasticsearch.common.io.stream.NamedWriteablepublic int getRelevantRetrieved()
public int getRetrieved()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object