public interface GtfsRelationalDao extends GtfsDao
GtfsDao has basic methods for retrieving collections of
entities and entities by id, GtfsRelationalDao adds some basic
methods for retrieving entities using more complex data relations.
You can imagine many complex queries that you might perform on GTFS data,
most of which will not be included here. These are just some basic relational
methods that we use to bootstrap other GTFS classes. To add more complex
queries, look at the specific mechanisms provided by classes implementing
GtfsRelationalDao and GtfsDao.getAgencyForId, getAllAgencies, getAllCalendarDates, getAllCalendars, getAllFareAttributes, getAllFareRules, getAllFeedInfos, getAllFrequencies, getAllPathways, getAllRoutes, getAllShapePoints, getAllStops, getAllStopTimes, getAllTransfers, getAllTrips, getCalendarDateForId, getCalendarForId, getFareAttributeForId, getFareRuleForId, getFeedInfoForId, getFrequencyForId, getPathwayForId, getRouteForId, getShapePointForId, getStopForId, getStopTimeForId, getTransferForId, getTripForIdgetAllEntitiesForType, getEntityForIdList<String> getTripAgencyIdsReferencingServiceId(AgencyAndId serviceId)
List<Trip> getTripsForShapeId(AgencyAndId shapeId)
List<Trip> getTripsForServiceId(AgencyAndId serviceId)
List<Trip> getTripsForBlockId(AgencyAndId blockId)
List<StopTime> getStopTimesForTrip(Trip trip)
StopTime objects associated with the trip,
sorted by StopTime.getStopSequence()List<AgencyAndId> getAllShapeIds()
ShapePoint MethodsList<ShapePoint> getShapePointsForShapeId(AgencyAndId shapeId)
List<AgencyAndId> getAllServiceIds()
ServiceCalendar MethodsServiceCalendar getCalendarForServiceId(AgencyAndId serviceId)
List<ServiceCalendarDate> getCalendarDatesForServiceId(AgencyAndId serviceId)
ServiceCalendarDate MethodsList<FareRule> getFareRulesForFareAttribute(FareAttribute fareAttribute)
Copyright © 2013 OneBusAway. All Rights Reserved.