public class SearchIndexJson extends Object
| Constructor and Description |
|---|
SearchIndexJson(Collection<?> harvestedDocuments)
Simple constructor that requires only the harvested documents.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
getData() |
long |
getDurationInSeconds() |
long |
getHarvestDate() |
String |
getHash() |
boolean |
isWasHarvestedFromDisk() |
void |
setData(Collection<?> data) |
void |
setDurationInSeconds(long durationInSeconds) |
void |
setHarvestDate(long harvestDate) |
void |
setHash(String hash) |
void |
setWasHarvestedFromDisk(boolean wasHarvestedFromDisk) |
public SearchIndexJson(Collection<?> harvestedDocuments)
harvestedDocuments - all documents that were harvestedpublic Collection<?> getData()
public void setData(Collection<?> data)
public long getHarvestDate()
public void setHarvestDate(long harvestDate)
public long getDurationInSeconds()
public void setDurationInSeconds(long durationInSeconds)
public boolean isWasHarvestedFromDisk()
public void setWasHarvestedFromDisk(boolean wasHarvestedFromDisk)
public String getHash()
public void setHash(String hash)
Copyright © 2017–2018. All rights reserved.