|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse.ResultElement
public class ResultElement
Class used to hold elements from content and metadata collections that refer to the same Information Object.
| Constructor Summary | |
|---|---|
ResultElement(String id,
int cols)
public Constructor for a ResultElement |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultElement(String id,
int cols)
id - - The OIDmetaCols - - upper bound for the content/metadata elements that this result can have| Method Detail |
|---|
public boolean insertElement(JoinElement element,
double weight)
element - - the new elementweight - - the weight for the rank of this new element
public int getInserted()
public void tagSent()
public boolean isSent()
public double getRank()
public String getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||