Interface GtfsEntityTransformStrategy


  • public interface GtfsEntityTransformStrategy
    Allow for transforming and filtering of GTFS elements as they are initially read from data source, as opposed to GtfsTransformStrategy, which is applied after ALL GTFS entities have been read into memory. This can be particularly useful for large feeds when you want to prune entities before they are read into memory.
    Author:
    bdferris
    • Method Detail

      • transformEntity

        Object transformEntity​(TransformContext context,
                               GtfsMutableRelationalDao dao,
                               Object entity)
        Parameters:
        context -
        dao -
        entity -
        Returns:
        the original entity, a replacement entity, or null to indicate that the entity should be pruned