|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.dir.master.selection.io.CollectionRank
org.gcube.dir.master.selection.io.ExtendedCollectionRank
public class ExtendedCollectionRank
Extends CollectionRank with an estimate of the number of results which should be retrieved from the collection.
| Constructor Summary | |
|---|---|
ExtendedCollectionRank()
Creates an instance |
|
ExtendedCollectionRank(java.lang.String collectionID,
float score,
int resultEstimate)
Creates an instance from a collection identifier, a collection score. |
|
| Method Summary | |
|---|---|
ICollectionRank |
extern()
Returns the service output. |
long |
getResultEstimate()
Returns the result estimate. |
void |
setResultEstimate(long numberOfResults)
Sets the result estimate. |
| Methods inherited from class org.gcube.dir.master.selection.io.CollectionRank |
|---|
compareTo, getCollectionID, getScore, setCollectionID, setScore |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedCollectionRank()
public ExtendedCollectionRank(java.lang.String collectionID,
float score,
int resultEstimate)
collectionID - the identifier.score - the score.resultEstimate - the estimate.| Method Detail |
|---|
public long getResultEstimate()
public void setResultEstimate(long numberOfResults)
numberOfResults - the estimate.
public ICollectionRank extern()
throws java.lang.Exception
extern in interface ServiceOutputAdapter<ICollectionRank>extern in class CollectionRankjava.lang.Exception - if this object could not be converted into a service output.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||