Package dk.netarkivet.heritrix3.monitor
Class SearchResult
- java.lang.Object
-
- dk.netarkivet.heritrix3.monitor.SearchResult
-
-
Field Summary
Fields Modifier and Type Field Description protected Heritrix3JobMonitor
h3Job
protected long
lastIndexed
protected Matcher
m
protected Pattern
p
protected File
srIdxFile
protected RandomAccessFile
srIdxRaf
protected File
srLogFile
protected RandomAccessFile
srLogRaf
-
Constructor Summary
Constructors Constructor Description SearchResult(NASEnvironment environment, Heritrix3JobMonitor h3Job, String q, int searchResultNr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
long
getIndexSize()
long
getLastIndexed()
byte[]
readPage(long page, long itemsPerPage, boolean descending)
void
update()
-
-
-
Field Detail
-
h3Job
protected Heritrix3JobMonitor h3Job
-
p
protected Pattern p
-
m
protected Matcher m
-
srLogFile
protected File srLogFile
-
srLogRaf
protected RandomAccessFile srLogRaf
-
srIdxFile
protected File srIdxFile
-
srIdxRaf
protected RandomAccessFile srIdxRaf
-
lastIndexed
protected long lastIndexed
-
-
Constructor Detail
-
SearchResult
public SearchResult(NASEnvironment environment, Heritrix3JobMonitor h3Job, String q, int searchResultNr) throws IOException
- Throws:
IOException
-
-
Method Detail
-
update
public void update() throws IOException
- Throws:
IOException
-
getIndexSize
public long getIndexSize()
- Specified by:
getIndexSize
in interfacePageable
-
getLastIndexed
public long getLastIndexed()
- Specified by:
getLastIndexed
in interfacePageable
-
readPage
public byte[] readPage(long page, long itemsPerPage, boolean descending) throws IOException
- Specified by:
readPage
in interfacePageable
- Throws:
IOException
-
cleanup
public void cleanup()
-
-