public class SearchResult extends Object implements Pageable
Modifier and Type | Field and 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 and Description |
---|
SearchResult(NASEnvironment environment,
Heritrix3JobMonitor h3Job,
String q,
int searchResultNr) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
long |
getIndexSize() |
long |
getLastIndexed() |
byte[] |
readPage(long page,
long itemsPerPage,
boolean descending) |
void |
update() |
protected Heritrix3JobMonitor h3Job
protected RandomAccessFile srLogRaf
protected RandomAccessFile srIdxRaf
protected long lastIndexed
public SearchResult(NASEnvironment environment, Heritrix3JobMonitor h3Job, String q, int searchResultNr) throws IOException
IOException
public void update() throws IOException
IOException
public long getIndexSize()
getIndexSize
in interface Pageable
public long getLastIndexed()
getLastIndexed
in interface Pageable
public byte[] readPage(long page, long itemsPerPage, boolean descending) throws IOException
readPage
in interface Pageable
IOException
public void cleanup()
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.