com.conveyal.gtfs.validator.service.StatisticsService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gtfs-lib Show documentation
Show all versions of gtfs-lib Show documentation
A library to load and index GTFS feeds of arbitrary size using disk-backed storage
package com.conveyal.gtfs.validator.service;
import com.conveyal.gtfs.stats.model.AgencyStatistic;
import java.awt.geom.Rectangle2D;
import java.time.LocalDate;
/**
* Provides statistics for:
*
* Agencies
* Routes
* Trips
* Stops
* Stop Times
* Calendar Date ranges
* Calendar Service exceptions
*
* @author dev
*
*/
public interface StatisticsService {
Integer getAgencyCount();
Integer getRouteCount();
Integer getTripCount();
Integer getStopCount();
Integer getStopTimesCount();
LocalDate getCalendarDateStart();
LocalDate getCalendarDateEnd();
LocalDate getCalendarServiceRangeStart();
LocalDate getCalendarServiceRangeEnd();
Integer getRouteCount(String agencyId);
Integer getTripCount(String agencyId);
Integer getStopCount(String agencyId);
Integer getStopTimesCount(String agencyId);
LocalDate getCalendarDateStart(String agencyId);
LocalDate getCalendarDateEnd(String agencyId);
LocalDate getCalendarServiceRangeStart(String agencyId);
LocalDate getCalendarServiceRangeEnd(String agencyId);
Rectangle2D getBounds();
AgencyStatistic getStatistic(String agencyId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy