|
||||||||||
| 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.IndexFuseOp
public class IndexFuseOp
Operator class used to perform a fuse operation on its input org.gcube.searchservice.searchlibrary.resultset.ResultSet,
that represent results produced from full text index lookup operations on a set of collections, and produces an output
org.gcube.searchservice.searchlibrary.resultset.ResultSet holding the joined results. For each collection the input
comes from metadata and content collections that correspond to that collection. The output contains 0 or 1 result
for each OID of the input collections.
| Field Summary | |
|---|---|
static String |
CollectionFieldNameDef
The default name of the Field the collection will be stored to |
static String |
ObjectIdFieldNameDef
The default name of the Field the object id will be stored to |
static String |
RankFieldNameDef
The default name of the Field the rank will be stored to |
| Constructor Summary | |
|---|---|
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
StatsContainer stats)
Creates a new IndexFuseOp with the default field names and the default timeout |
|
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new IndexFuseOp with configurable field names and timeout |
|
IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
StatsContainer stats)
Creates a new IndexFuseOp with configurable field names and the default timeout |
|
| Method Summary | |
|---|---|
URI |
compute()
Performs the fuse operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String ObjectIdFieldNameDef
Field the object id will be stored to
public static String CollectionFieldNameDef
Field the collection will be stored to
public static String RankFieldNameDef
Field the rank will be stored to
| Constructor Detail |
|---|
public IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
StatsContainer stats)
throws Exception
IndexFuseOp with the default field names and the default timeout
contentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - stats - statistics
Exception
public IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
StatsContainer stats)
throws Exception
IndexFuseOp with configurable field names and the default timeout
contentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - objectIdFieldName - The name of the Field the object id will be stored tocollectionFieldName - The name of the Field the collection will be stored torankFieldName - The name of the Field the rank will be stored tostats - statistics
Exception
public IndexFuseOp(URI[] contentLocators,
URI[][] metaLocators,
String[] colIDs,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
throws Exception
IndexFuseOp with configurable field names and timeout
contentLocators - The content collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetmetaLocators - The metadata collection inputs org.gcube.searchservice.searchlibrary.resultset.ResultSetcolIDs - objectIdFieldName - The name of the Field the object id will be stored tocollectionFieldName - The name of the Field the collection will be stored torankFieldName - The name of the Field the rank will be stored totimeout - The timeout that will be used by all IRecordReaders and the IRecordWritertimeUnit - The time unit of the timeoutstats - statistics
Exception| Method Detail |
|---|
public URI compute()
throws Exception
Exception - An unrecoverable for the operation error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||