|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.search.datafusion.helpers.ResultSetHelper
public class ResultSetHelper
| Constructor Summary | |
|---|---|
ResultSetHelper()
|
|
| Method Summary | |
|---|---|
static List<String> |
getRSRecFields(gr.uoa.di.madgik.grs.record.GenericRecord rsRec)
Gets the names of the fields for the given record |
static void |
initializeGRS2()
Initializes the gRS2 for writing |
static URI |
multiGetAndWrite(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
Gets the actual records from the rec and at the same time is writing them in a gRS2 result set. |
static URI |
multiGetAndWriteNoStream(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
Gets the actual records from the rec and then writes them in a gRS2 result set. |
static void |
printRecords(List<gr.uoa.di.madgik.grs.record.GenericRecord> recs,
Set<String> fields)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultSetHelper()
| Method Detail |
|---|
public static void initializeGRS2()
public static URI multiGetAndWrite(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
throws Exception
recs - index - fields - the union of all fields of all the records
Exception
public static URI multiGetAndWriteNoStream(List<RankedRecord> recs,
org.apache.lucene.store.Directory index,
Set<String> fields)
throws Exception
recs - index - fields - the union of all fields of all the records
Exception
public static void printRecords(List<gr.uoa.di.madgik.grs.record.GenericRecord> recs,
Set<String> fields)
throws gr.uoa.di.madgik.grs.record.GRS2RecordDefinitionException,
gr.uoa.di.madgik.grs.buffer.GRS2BufferException
gr.uoa.di.madgik.grs.record.GRS2RecordDefinitionException
gr.uoa.di.madgik.grs.buffer.GRS2BufferException
public static List<String> getRSRecFields(gr.uoa.di.madgik.grs.record.GenericRecord rsRec)
throws gr.uoa.di.madgik.grs.record.GRS2RecordDefinitionException
rsRec -
gr.uoa.di.madgik.grs.record.GRS2RecordDefinitionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||