| Interface | Description |
|---|---|
| EntityPopulator<T> |
For now we will copy all available fields into Java model objects.
|
| TableReader<T extends Entity> |
This is an interface for classes that can iterate over all entities in a single GTFS table, or fetch single entities
by ID, or fetch ordered groups of entities with the same ID (e.g.
|
| TableWriter<T extends Entity> |
This is an interface for classes to create, update, or delete a GTFS entity given an Integer ID and/or JSON string.
|
| Class | Description |
|---|---|
| BatchTracker |
Avoid Java's "effectively final" nonsense when using prepared statements in foreach loops.
|
| BooleanField |
A GTFS boolean field, coded as a single character string 0 or 1.
|
| ColorField |
Represents a six-digit hex color code.
|
| CSVResultSetAdapter |
This makes an incoming row of a CSV file resemble a Result object.
|
| CurrencyField | |
| DateField |
A GTFS date in the format YYYYMMDD.
|
| DateListField |
Field type for a list of date strings.
|
| DoubleField |
Created by abyrd on 2017-03-31
|
| Feed |
This connects to an SQL RDBMS containing GTFS data and lets you fetch elements out of it.
|
| FeedLoadResult |
An instance of this class is returned by the GTFS feed loading method.
|
| Field |
Field subclasses process an incoming String that represents a single GTFS CSV field value.
|
| IllegalCharacter |
This class contains a convenient way to describe illegal character sequences during GTFS feed loading, as well as the
appropriate replacement value and a human-readable description (rather than inputting the bad sequence into the
database and having to deal with downstream issues).
|
| IntegerField | |
| JdbcGtfsExporter |
Handles exporting a feed contained in the database to a GTFS zip file.
|
| JdbcGTFSFeedConverter |
This class loads a MapDB-based GTFSFeed into an RDBMS.
|
| JdbcGtfsLoader |
This class loads CSV tables from zipped GTFS into an SQL relational database management system with a JDBC driver.
|
| JdbcGtfsSnapshotter |
This class takes a feedId that represents a feed already in the database and creates a copy of the entire feed.
|
| JDBCTableReader<T extends Entity> |
This wraps a single database table and provides methods to load its rows into Java objects, iterate over the
contents of the table, and select individual rows.
|
| JdbcTableWriter |
This wraps a single database table and provides methods to modify GTFS entities.
|
| LanguageField |
Checks a BCP47 language tag.
|
| ReferenceTracker |
This class is used while loading GTFS to track the unique keys that are encountered in a GTFS
feed.
|
| ShortField |
Created by abyrd on 2017-03-31
|
| SnapshotResult |
This contains the result of a feed snapshot operation.
|
| SQLEntityFetcher<T> |
Created by abyrd on 2017-04-04
|
| StringField |
Created by abyrd on 2017-03-31
|
| StringListField |
Field type for a list of strings.
|
| Table |
This groups a table name with a description of the fields in the table.
|
| TableLoadResult |
An instance of this class is returned by the method that loads a single GTFS table.
|
| TimeField |
A field in the format HH:MM:SS, which will be stored as a number of seconds after midnight.
|
| URLField |
Created by abyrd on 2017-03-31
|
| ValidateFieldResult<T> |
This mini helper class is used during feed loading to return both:
- a cleaned value of arbitrary type T and
- any errors encountered while validating the original value.
|
| Enum | Description |
|---|---|
| Requirement |
These are field requirement levels, which should be assigned accordingly to any fields within a
Table
to determine if a field is requisite for a specific purpose. |
Copyright © 2019. All rights reserved.