Class TruncateNewCalendarStatements
java.lang.Object
org.onebusaway.gtfs_transformer.impl.TruncateNewCalendarStatements
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidrun(TransformContext transformContext, GtfsMutableRelationalDao gtfsMutableRelationalDao) voidsetCalendarAmount(int calendarAmount) voidsetCalendarField(int calendarField) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.onebusaway.gtfs_transformer.services.GtfsTransformStrategy
updateReadSchema, updateWriteSchema
-
Constructor Details
-
TruncateNewCalendarStatements
public TruncateNewCalendarStatements()
-
-
Method Details
-
setCalendarField
public void setCalendarField(int calendarField) -
setCalendarAmount
public void setCalendarAmount(int calendarAmount) -
getName
- Specified by:
getNamein interfaceGtfsTransformStrategy
-
run
public void run(TransformContext transformContext, GtfsMutableRelationalDao gtfsMutableRelationalDao) - Specified by:
runin interfaceGtfsTransformStrategy
-