|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.dir.master.fusion.io.FusionParameters
public class FusionParameters
Base implementation of input parameters for result fusion algorithms.
| Constructor Summary | |
|---|---|
FusionParameters()
Creates an uninitialised instance. |
|
FusionParameters(Query query,
java.util.Map<java.lang.String,RSXMLReader> RSMap,
int numOfResults)
Creates an instance from a query, the result sets which it produced, and the number of results expected in the merged result set. |
|
| Method Summary | |
|---|---|
int |
getNumberOfResults()
Returns the maximum number of results to return after merging. |
Query |
getQuery()
Returns the query which produced the result to merge. |
java.util.Map<java.lang.String,RSXMLReader> |
getResultSets()
Returns the resultsets to be merged. |
void |
setNumberOfResults(int numberOfresults)
Sets the the maximum number of results to return after merging. |
void |
setQuery(Query query)
Sets the query which produced the result to merge. |
void |
setResultSets(java.util.Map<java.lang.String,RSXMLReader> RSMap)
Sets the resultsets to be merged. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FusionParameters()
public FusionParameters(Query query,
java.util.Map<java.lang.String,RSXMLReader> RSMap,
int numOfResults)
query - the query.RSMap - the result sets, indexed by the identifiers of the collections from which they emanate.numOfResults - the number of results in the merged resultset.| Method Detail |
|---|
public Query getQuery()
public void setQuery(Query query)
query - the query.public java.util.Map<java.lang.String,RSXMLReader> getResultSets()
public void setResultSets(java.util.Map<java.lang.String,RSXMLReader> RSMap)
RSMap - the resultsets,indexed by the identifiers of the collections from which they emanate.public int getNumberOfResults()
public void setNumberOfResults(int numberOfresults)
numberOfresults - the number of results.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||