|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GtfsRelationalDao
While 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.
| Method Summary | |
|---|---|
List<ServiceCalendarDate> |
getCalendarDatesForServiceId(AgencyAndId serviceId)
ServiceCalendarDate Methods |
ServiceCalendar |
getCalendarForServiceId(AgencyAndId serviceId)
ServiceCalendar Methods |
List<Frequency> |
getFrequenciesForTrip(Trip trip)
Frequency Methods |
List<Route> |
getRoutesForAgency(Agency agency)
Route Methods |
List<ShapePoint> |
getShapePointsForShapeId(AgencyAndId shapeId)
ShapePoint Methods |
List<StopTime> |
getStopTimesForStop(Stop stop)
|
List<StopTime> |
getStopTimesForTrip(Trip trip)
|
List<String> |
getTripAgencyIdsReferencingServiceId(AgencyAndId serviceId)
ServiceId Methods |
List<Trip> |
getTripsForBlockId(AgencyAndId blockId)
|
List<Trip> |
getTripsForRoute(Route route)
Trip Methods |
| Methods inherited from interface org.onebusaway.gtfs.services.GtfsDao |
|---|
getAgencyForId, getAllAgencies, getAllCalendarDates, getAllCalendars, getAllFareAttributes, getAllFareRules, getAllFrequencies, getAllPathways, getAllRoutes, getAllShapePoints, getAllStops, getAllStopTimes, getAllTransfers, getAllTrips, getCalendarDateForId, getCalendarForId, getFareAttributeForId, getFareRuleForId, getFrequencyForId, getPathwayForId, getRouteForId, getShapePointForId, getStopForId, getStopTimeForId, getTransferForId, getTripForId |
| Methods inherited from interface org.onebusaway.gtfs.services.GenericDao |
|---|
getAllEntitiesForType, getEntityForId |
| Method Detail |
|---|
List<String> getTripAgencyIdsReferencingServiceId(AgencyAndId serviceId)
List<Route> getRoutesForAgency(Agency agency)
List<Trip> getTripsForRoute(Route route)
Trip Methods
List<Trip> getTripsForBlockId(AgencyAndId blockId)
List<StopTime> getStopTimesForTrip(Trip trip)
StopTime objects associated with the trip,
sorted by StopTime.getStopSequence()List<StopTime> getStopTimesForStop(Stop stop)
StopTime objects associated with the specified
Stop, in no particular orderList<ShapePoint> getShapePointsForShapeId(AgencyAndId shapeId)
ShapePoint Methods
List<Frequency> getFrequenciesForTrip(Trip trip)
Frequency Methods
ServiceCalendar getCalendarForServiceId(AgencyAndId serviceId)
ServiceCalendar Methods
List<ServiceCalendarDate> getCalendarDatesForServiceId(AgencyAndId serviceId)
ServiceCalendarDate Methods
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||