Package org.goplanit.gtfs.reader
Class GtfsFileReaderSettings
- java.lang.Object
-
- org.goplanit.gtfs.reader.GtfsFileReaderSettings
-
public class GtfsFileReaderSettings extends Object
General settings applicable to all GTFS file readers- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description GtfsFileReaderSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
excludeColumns(Iterator<GtfsKeyType> columnsToExcludeIter)
Exclude one or more columns from in memory object to for example reduce the memory footprintvoid
excludeColumns(GtfsKeyType... columnsToExclude)
Exclude one or more columns from in memory object to for example reduce the memory footprintSet<GtfsKeyType>
getExcludedColumns()
the excluded columns (unmodifiable)boolean
isExcludedColumn(GtfsKeyType column)
Verify if a column is excludedboolean
isLogGtfsFileInputStreamInfo()
Collect the flag for logging input stream creation logging during executionvoid
setLogGtfsFileInputStreamInfo(boolean flag)
Set the flag for logging input stream creation logging during execution
-
-
-
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
-
-