Modifier and Type | Field and Description |
---|---|
private int |
distributionKey |
private com.yahoo.document.GlobalId |
globalId |
private double |
metric |
private int |
partId |
Constructor and Description |
---|
DocumentInfo(ByteBuffer buffer,
QueryResultPacket owner) |
DocumentInfo(com.yahoo.document.GlobalId globalId,
int metric,
int partId,
int distributionKey) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Implements the Cloneable interface
|
private double |
decodeMetric(ByteBuffer buffer) |
int |
getDistributionKey()
Unique key for the node this document resides on
|
com.yahoo.document.GlobalId |
getGlobalId() |
double |
getMetric()
Raw rank score
|
int |
getPartId()
Partition this document resides on
|
String |
toString() |
private final com.yahoo.document.GlobalId globalId
private final double metric
private final int partId
private final int distributionKey
DocumentInfo(ByteBuffer buffer, QueryResultPacket owner)
public DocumentInfo(com.yahoo.document.GlobalId globalId, int metric, int partId, int distributionKey)
private double decodeMetric(ByteBuffer buffer)
public com.yahoo.document.GlobalId getGlobalId()
public double getMetric()
public int getPartId()
public int getDistributionKey()
Copyright © 2018. All rights reserved.