|
||||||||||
| 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<AgencyAndId> |
getAllShapeIds()
ShapePoint Methods |
List<ServiceCalendarDate> |
getCalendarDatesForServiceId(AgencyAndId serviceId)
ServiceCalendarDate Methods |
ServiceCalendar |
getCalendarForServiceId(AgencyAndId serviceId)
ServiceCalendar Methods |
List<FareRule> |
getFareRulesForFareAttribute(FareAttribute fareAttribute)
FareRule |
List<Frequency> |
getFrequenciesForTrip(Trip trip)
Frequency Methods |
List<Route> |
getRoutesForAgency(Agency agency)
Route Methods |
List<ShapePoint> |
getShapePointsForShapeId(AgencyAndId shapeId)
|
List<Stop> |
getStopsForStation(Stop station)
Stop 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, getAllFeedInfos, getAllFrequencies, getAllPathways, getAllRoutes, getAllShapePoints, getAllStops, getAllStopTimes, getAllTransfers, getAllTrips, getCalendarDateForId, getCalendarForId, getFareAttributeForId, getFareRuleForId, getFeedInfoForId, 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<Stop> getStopsForStation(Stop station)
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<AgencyAndId> getAllShapeIds()
ShapePoint Methods
List<ShapePoint> getShapePointsForShapeId(AgencyAndId shapeId)
List<Frequency> getFrequenciesForTrip(Trip trip)
Frequency Methods
ServiceCalendar getCalendarForServiceId(AgencyAndId serviceId)
ServiceCalendar Methods
List<ServiceCalendarDate> getCalendarDatesForServiceId(AgencyAndId serviceId)
ServiceCalendarDate Methods
List<FareRule> getFareRulesForFareAttribute(FareAttribute fareAttribute)
FareRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||