|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.onebusaway.gtfs.impl.GenericDaoImpl
org.onebusaway.gtfs.impl.GtfsDaoImpl
org.onebusaway.gtfs.impl.GtfsRelationalDaoImpl
public class GtfsRelationalDaoImpl
A in-memory implementation of GtfsRelationalDaoImpl. It's super fast for most methods, but only if you have enough memory to load your entire GTFS into memory.
| Constructor Summary | |
|---|---|
GtfsRelationalDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
clearAllCaches()
|
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 class org.onebusaway.gtfs.impl.GenericDaoImpl |
|---|
clearAllEntitiesForType, close, flush, getAllEntitiesForType, getEntitiesByIdForEntityType, getEntityClasses, getEntityForId, open, removeEntity, saveEntity, saveOrUpdateEntity, setGenerateIds, updateEntity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.onebusaway.gtfs.services.GenericMutableDao |
|---|
clearAllEntitiesForType, close, flush, open, removeEntity, saveEntity, saveOrUpdateEntity, updateEntity |
| 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 |
| Constructor Detail |
|---|
public GtfsRelationalDaoImpl()
| Method Detail |
|---|
public void clearAllCaches()
public List<String> getTripAgencyIdsReferencingServiceId(AgencyAndId serviceId)
GtfsRelationalDao
getTripAgencyIdsReferencingServiceId in interface GtfsRelationalDaopublic List<Route> getRoutesForAgency(Agency agency)
GtfsRelationalDao
getRoutesForAgency in interface GtfsRelationalDaopublic List<Stop> getStopsForStation(Stop station)
GtfsRelationalDao
getStopsForStation in interface GtfsRelationalDaopublic List<AgencyAndId> getAllShapeIds()
GtfsRelationalDaoShapePoint Methods
getAllShapeIds in interface GtfsRelationalDaopublic List<ShapePoint> getShapePointsForShapeId(AgencyAndId shapeId)
getShapePointsForShapeId in interface GtfsRelationalDaopublic List<StopTime> getStopTimesForTrip(Trip trip)
getStopTimesForTrip in interface GtfsRelationalDaoStopTime objects associated with the trip,
sorted by StopTime.getStopSequence()public List<StopTime> getStopTimesForStop(Stop stop)
getStopTimesForStop in interface GtfsRelationalDaoStopTime objects associated with the specified
Stop, in no particular orderpublic List<Trip> getTripsForRoute(Route route)
GtfsRelationalDaoTrip Methods
getTripsForRoute in interface GtfsRelationalDaopublic List<Trip> getTripsForBlockId(AgencyAndId blockId)
getTripsForBlockId in interface GtfsRelationalDaopublic List<Frequency> getFrequenciesForTrip(Trip trip)
GtfsRelationalDaoFrequency Methods
getFrequenciesForTrip in interface GtfsRelationalDaopublic List<ServiceCalendarDate> getCalendarDatesForServiceId(AgencyAndId serviceId)
GtfsRelationalDaoServiceCalendarDate Methods
getCalendarDatesForServiceId in interface GtfsRelationalDaopublic ServiceCalendar getCalendarForServiceId(AgencyAndId serviceId)
GtfsRelationalDaoServiceCalendar Methods
getCalendarForServiceId in interface GtfsRelationalDaopublic List<FareRule> getFareRulesForFareAttribute(FareAttribute fareAttribute)
GtfsRelationalDaoFareRule
getFareRulesForFareAttribute in interface GtfsRelationalDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||