|
||||||||||
| 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.ScanElement
public class ScanElement
Placeholder for input org.gcube.searchservice.searchlibrary.resultset.ResultSet
file buffer and join related structs
| Constructor Summary | |
|---|---|
ScanElement(gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> reader,
Queue<JoinElement> queue,
Object synchThis,
short inputID,
short metaInputID,
long timeout,
TimeUnit timeUnit)
Create a new ScanElement |
|
| Method Summary | |
|---|---|
long |
getCounter()
Retrieves the counter for this ScanElement |
DiskBuffer |
getFileBuf()
Retrieves the file buffer |
short |
getInputID()
Retrieves the input id of this ScanElement |
short |
getMetaInputID()
Retrieves the metadata input id of this ScanElement |
Queue<JoinElement> |
getQueue()
Retrieves the queue used to place records |
gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> |
getReader()
Retrieves the RSXMLIterator |
Object |
getSynchThis()
Retrieves the object used to synchronize queue access |
long |
getTimeout()
Retrieves the timeout used by the reader |
TimeUnit |
getTimeUnit()
Retrieves the time unit of the timeout used by the reader |
boolean |
isActive()
Checks if the current ScanElement is active |
void |
setActive(boolean active)
Sets if the current ScanElement is active |
void |
setCounter(long counter)
Sets the counter of this ScanElement |
void |
setFileBuf(DiskBuffer fileBuf)
Sets the file buffer |
void |
setInputID(short inputID)
Sets the input id of this ScanElement |
void |
setMetaInputID(short metaInputID)
Sets the metadata input id of this ScanElement |
void |
setQueue(Queue<JoinElement> queue)
Sets the queue used to place records |
void |
setReader(gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> reader)
Sets the RSXMLIterator |
void |
setSynchThis(Object synchThis)
Sets the object used to synchronize queue access |
void |
setTimeout(long timeout)
Sets the timeout used by the reader |
void |
setTimeUnit(TimeUnit timeUnit)
Sets the time unit of the timeout used by the reader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScanElement(gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> reader,
Queue<JoinElement> queue,
Object synchThis,
short inputID,
short metaInputID,
long timeout,
TimeUnit timeUnit)
ScanElement
reader - Input readerqueue - The queue to place extacted recordssynchThis - Used for queue synchronizationinputID - Used to separate the various ScanElement instances based on their collectionmetaInputID - Used to separate the various ScanElement instances of a collection based on
which content/metadata collections they belong| Method Detail |
|---|
public long getCounter()
ScanElement
public void setCounter(long counter)
ScanElement
counter - The counterpublic short getInputID()
ScanElement
public void setInputID(short inputID)
ScanElement
inputID - The input idpublic short getMetaInputID()
ScanElement
public void setMetaInputID(short metaInputID)
ScanElement
inputID - The input idpublic boolean isActive()
ScanElement is active
true if it is, false otherwisepublic void setActive(boolean active)
ScanElement is active
active - true if it is, false otherwisepublic DiskBuffer getFileBuf()
public void setFileBuf(DiskBuffer fileBuf)
fileBuf - The file bufferpublic gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> getReader()
RSXMLIterator
public void setReader(gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record> reader)
RSXMLIterator
iter - The iteratorpublic Queue<JoinElement> getQueue()
public void setQueue(Queue<JoinElement> queue)
queue - The queuepublic Object getSynchThis()
public void setSynchThis(Object synchThis)
synchThis - The object to usepublic long getTimeout()
public void setTimeout(long timeout)
timeout - the timeoutpublic TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
timeUnit - the unit of the timeout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||