Class UpdateCalendarDatesForDuplicateTrips
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.impl.UpdateCalendarDatesForDuplicateTrips
-
- All Implemented Interfaces:
GtfsTransformStrategy
public class UpdateCalendarDatesForDuplicateTrips extends Object implements GtfsTransformStrategy
Map ATIS trip_ids to mta_trips_ids while de-duplicating. Tag each "duplicate" trip with an ATIS id to force it unique if the stopping pattern differs. Otherwise create new service_ids representing the service of the duplicates, adding to an exemplar trip and deleting the duplicates.
-
-
Constructor Summary
Constructors Constructor Description UpdateCalendarDatesForDuplicateTrips()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidrun(TransformContext context, GtfsMutableRelationalDao dao)-
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_transformer.services.GtfsTransformStrategy
updateReadSchema, updateWriteSchema
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceGtfsTransformStrategy
-
run
public void run(TransformContext context, GtfsMutableRelationalDao dao)
- Specified by:
runin interfaceGtfsTransformStrategy
-
-