public class ResultElement extends Object
| Constructor and Description |
|---|
ResultElement(String id,
int cols)
public Constructor for a ResultElement
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Return the id for this element
|
int |
getInserted()
Gets the number of inserted elements for this result
|
double |
getRank()
Return the rank of this element
|
boolean |
insertElement(JoinElement element,
double weight)
Inserts a new element for the IO, this result refers to
|
boolean |
isSent()
Return if this element is sent
|
void |
tagSent()
Tag this element as sent
|
public ResultElement(String id, int cols)
id - - The OIDmetaCols - - upper bound for the content/metadata elements that this result can havepublic boolean insertElement(JoinElement element, double weight)
element - - the new elementweight - - the weight for the rank of this new elementpublic int getInserted()
public void tagSent()
public boolean isSent()
public double getRank()
public String getId()
Copyright © 2017. All Rights Reserved.