Package org.elasticsearch.index.rankeval
Class RecallAtK.Detail
java.lang.Object
org.elasticsearch.index.rankeval.RecallAtK.Detail
- All Implemented Interfaces:
org.elasticsearch.common.io.stream.NamedWriteable,org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject,MetricDetail
- Enclosing class:
- RecallAtK
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params -
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RecallAtK.DetailfromXContent(org.elasticsearch.common.xcontent.XContentParser parser)longlonginthashCode()org.elasticsearch.common.xcontent.XContentBuilderinnerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)Implementations should write their own fields to theXContentBuilderpassed in.voidwriteTo(org.elasticsearch.common.io.stream.StreamOutput out)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.index.rankeval.MetricDetail
getMetricName, toXContentMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Method Details
-
fromXContent
public static RecallAtK.Detail fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
writeTo
- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Throws:
IOException
-
innerToXContent
public org.elasticsearch.common.xcontent.XContentBuilder innerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOExceptionDescription copied from interface:MetricDetailImplementations should write their own fields to theXContentBuilderpassed in.- Specified by:
innerToXContentin interfaceMetricDetail- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceorg.elasticsearch.common.io.stream.NamedWriteable
-
getRelevantRetrieved
public long getRelevantRetrieved() -
getRelevant
public long getRelevant() -
equals
-
hashCode
public int hashCode()
-