Class GeoScrapeWatermark
java.lang.Object
ubic.gemma.model.expression.experiment.GeoScrapeWatermark
- All Implemented Interfaces:
Serializable
Append-only record of one GEO scrape run. One row per
POST /admin/tasks/geo-scrape invocation.
The pair scanFrom/scanTo defines the time window the
scrape covered. The latest GeoScrapeWatermark.Status.COMPLETED row's scanTo
is the high-water mark the next scrape resumes from. status
tracks lifecycle (IN_PROGRESS, COMPLETED, FAILED, CANCELLED) so
partial / wedged scrapes can be inspected and resumed.
Schema: Flyway mysql/V17__geo_scrape_watermark.sql +
h2/V19__geo_scrape_watermark.sql. Paul-approved 2026-05-23.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumLifecycle status of a scrape run. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanComma-separated list of matcher names applied (e.g.getId()intintInclusive lower bound of the scrape window; null if the first scrape ever.When the scrape started (or was last updated).Exclusive upper bound of the scrape window; null while IN_PROGRESS.inthashCode()voidsetCriteriaApplied(String criteriaApplied) voidsetErrorMessage(String errorMessage) voidvoidsetRecordsMatched(int recordsMatched) voidsetRecordsScanned(int recordsScanned) voidsetScanFrom(Date scanFrom) voidsetScannedAt(Date scannedAt) voidvoidsetStatus(GeoScrapeWatermark.Status status)
-
Constructor Details
-
GeoScrapeWatermark
public GeoScrapeWatermark()
-
-
Method Details
-
getId
-
setId
-
getScannedAt
When the scrape started (or was last updated). NOT NULL. -
setScannedAt
-
getScanFrom
Inclusive lower bound of the scrape window; null if the first scrape ever. -
setScanFrom
-
getScanTo
Exclusive upper bound of the scrape window; null while IN_PROGRESS. -
setScanTo
-
getRecordsScanned
public int getRecordsScanned() -
setRecordsScanned
public void setRecordsScanned(int recordsScanned) -
getRecordsMatched
public int getRecordsMatched() -
setRecordsMatched
public void setRecordsMatched(int recordsMatched) -
getCriteriaApplied
Comma-separated list of matcher names applied (e.g."brain,scbrain,tfperturb"); null means "all available matchers". -
setCriteriaApplied
-
getStatus
-
setStatus
-
getErrorMessage
-
setErrorMessage
-
hashCode
-
equals
-