Class GtfsFileReaderSettings


  • public class GtfsFileReaderSettings
    extends Object
    General settings applicable to all GTFS file readers
    Author:
    markr
    • Constructor Detail

      • GtfsFileReaderSettings

        public GtfsFileReaderSettings()
    • Method Detail

      • excludeColumns

        public void excludeColumns​(GtfsKeyType... columnsToExclude)
        Exclude one or more columns from in memory object to for example reduce the memory footprint
        Parameters:
        columnsToExclude - the columns to actively exclude
      • excludeColumns

        public void excludeColumns​(Iterator<GtfsKeyType> columnsToExcludeIter)
        Exclude one or more columns from in memory object to for example reduce the memory footprint
        Parameters:
        columnsToExcludeIter - the columns to actively exclude
      • getExcludedColumns

        public Set<GtfsKeyType> getExcludedColumns()
        the excluded columns (unmodifiable)
        Returns:
        excluded columns
      • isExcludedColumn

        public boolean isExcludedColumn​(GtfsKeyType column)
        Verify if a column is excluded
        Parameters:
        column - to check based on the GTFS key type it corresponds to
        Returns:
        true when excluded, false otherwise
      • setLogGtfsFileInputStreamInfo

        public void setLogGtfsFileInputStreamInfo​(boolean flag)
        Set the flag for logging input stream creation logging during execution
        Parameters:
        flag - to set
      • isLogGtfsFileInputStreamInfo

        public boolean isLogGtfsFileInputStreamInfo()
        Collect the flag for logging input stream creation logging during execution
        Returns:
        flag as it is set