Class TruncateNewCalendarStatements
- java.lang.Object
-
- org.onebusaway.gtfs_transformer.impl.TruncateNewCalendarStatements
-
- All Implemented Interfaces:
GtfsTransformStrategy
public class TruncateNewCalendarStatements extends Object implements GtfsTransformStrategy
Some GTFS files go very far in the future causing memory issues with applications. Cut the GTFS down to 30 days from now. The opposite of- See Also:
RemoveOldCalendarStatements
-
-
Constructor Summary
Constructors Constructor Description TruncateNewCalendarStatements()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidrun(TransformContext transformContext, GtfsMutableRelationalDao gtfsMutableRelationalDao)-
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 transformContext, GtfsMutableRelationalDao gtfsMutableRelationalDao)
- Specified by:
runin interfaceGtfsTransformStrategy
-
-