|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.index.reader.DocReader org.dlese.dpc.index.reader.HarvestLogReader
A Lucene DocReader that reads harvest log entries.
ResultDoc
,
HarvestLogWriter
Field Summary |
---|
Fields inherited from class org.dlese.dpc.index.reader.DocReader |
---|
conf, doc, score |
Constructor Summary | |
---|---|
HarvestLogReader(Document doc)
Constructor that may be used programatically to wrap a reader around a Lucene Document created by a DocWriter . |
|
HarvestLogReader(Document doc,
float score,
ResultDocConfig conf)
Constructor that is used by ResultDoc at search
time to create a new instance. |
Method Summary | |
---|---|
String |
getBaseUrl()
|
String |
getEndTime()
|
long |
getEndTimeLong()
|
String |
getEntryType()
|
String |
getHarvestDir()
|
String |
getHarvestUid()
The UID of an individual harvest that was performed. |
long |
getHarvestUidLong()
|
String |
getLogDate()
|
String |
getLogMessage()
|
String |
getNumHarvestedRecords()
|
int |
getNumHarvestedRecordsInt()
|
String |
getNumResumptionTokens()
|
int |
getNumResumptionTokensInt()
|
String |
getReaderType()
Gets a String describing the reader type. |
String |
getRepositoryName()
|
String |
getSet()
|
String |
getStartTime()
|
long |
getStartTimeLong()
|
String |
getUid()
The UID of the scheduled harvest. |
long |
getUidLong()
|
Methods inherited from class org.dlese.dpc.index.reader.DocReader |
---|
getDocument, getIndex, getQuery, getScore, setDoc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HarvestLogReader(Document doc, float score, ResultDocConfig conf)
ResultDoc
at search
time to create a new instance.
doc
- The Lucene Document that is read.score
- The rank of the Document in a set of results.public HarvestLogReader(Document doc)
Document
created by a DocWriter
. Sets the score to 0.
doc
- A Lucene Document
created by
a DocWriter
.Method Detail |
public String getLogDate()
public String getStartTime()
public long getStartTimeLong()
public String getEndTime()
public long getEndTimeLong()
public String getRepositoryName()
public String getBaseUrl()
public String getSet()
public String getUid()
public long getUidLong()
public String getHarvestUid()
public long getHarvestUidLong()
public String getNumHarvestedRecords()
public int getNumHarvestedRecordsInt()
public String getNumResumptionTokens()
public int getNumResumptionTokensInt()
public String getLogMessage()
public String getHarvestDir()
public String getEntryType()
public String getReaderType()
getReaderType
in class DocReader
|
DLESE Tools v1.2 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |