public class ZipNumClusterSearchResultSource extends Object implements SearchResultSource, Adapter<String,CaptureSearchResult>
| Modifier and Type | Field and Description |
|---|---|
protected org.archive.format.gzip.zipnum.ZipNumCluster |
cluster |
protected List<String> |
ignoreRobotPaths |
protected org.archive.format.gzip.zipnum.ZipNumParams |
oneBlockParams |
protected org.archive.format.gzip.zipnum.ZipNumParams |
params |
protected int |
timestampDedupLength |
| Constructor and Description |
|---|
ZipNumClusterSearchResultSource() |
| Modifier and Type | Method and Description |
|---|---|
CaptureSearchResult |
adapt(String line)
Transform one object into another
|
void |
cleanup(org.archive.util.iterator.CloseableIterator<CaptureSearchResult> c) |
org.archive.format.gzip.zipnum.ZipNumCluster |
getCluster() |
List<String> |
getIgnoreRobotPaths() |
org.archive.format.gzip.zipnum.ZipNumParams |
getParams() |
org.archive.util.iterator.CloseableIterator<CaptureSearchResult> |
getPrefixIterator(String urlkey) |
org.archive.util.iterator.CloseableIterator<CaptureSearchResult> |
getPrefixReverseIterator(String prefix) |
int |
getTimestampDedupLength() |
void |
init() |
void |
setCluster(org.archive.format.gzip.zipnum.ZipNumCluster cluster) |
void |
setIgnoreRobotPaths(List<String> ignoreRobotPaths) |
void |
setParams(org.archive.format.gzip.zipnum.ZipNumParams params) |
void |
setTimestampDedupLength(int timestampDedupLength) |
void |
shutdown() |
protected org.archive.format.gzip.zipnum.ZipNumCluster cluster
protected org.archive.format.gzip.zipnum.ZipNumParams params
protected org.archive.format.gzip.zipnum.ZipNumParams oneBlockParams
protected int timestampDedupLength
public void init()
throws IOException
IOExceptionpublic org.archive.util.iterator.CloseableIterator<CaptureSearchResult> getPrefixIterator(String urlkey) throws ResourceIndexNotAvailableException
getPrefixIterator in interface SearchResultSourceResourceIndexNotAvailableExceptionpublic org.archive.util.iterator.CloseableIterator<CaptureSearchResult> getPrefixReverseIterator(String prefix) throws ResourceIndexNotAvailableException
getPrefixReverseIterator in interface SearchResultSourceResourceIndexNotAvailableExceptionpublic void cleanup(org.archive.util.iterator.CloseableIterator<CaptureSearchResult> c) throws IOException
cleanup in interface SearchResultSourceIOExceptionpublic void shutdown()
throws IOException
shutdown in interface SearchResultSourceIOExceptionpublic org.archive.format.gzip.zipnum.ZipNumCluster getCluster()
public void setCluster(org.archive.format.gzip.zipnum.ZipNumCluster cluster)
public org.archive.format.gzip.zipnum.ZipNumParams getParams()
public void setParams(org.archive.format.gzip.zipnum.ZipNumParams params)
public CaptureSearchResult adapt(String line)
Adapteradapt in interface Adapter<String,CaptureSearchResult>public int getTimestampDedupLength()
public void setTimestampDedupLength(int timestampDedupLength)
Copyright © 2005–2015 IIPC. All rights reserved.