| Package | Description |
|---|---|
| com.conveyal.gtfs.error |
This package contains all the objects that represent errors encountered during GTFS loading.
|
| com.conveyal.gtfs.loader | |
| com.conveyal.gtfs.model |
This package contains an alternative to the GTFS loading classes we have been using from OBA.
|
| com.conveyal.gtfs.validator |
| Modifier and Type | Field and Description |
|---|---|
Class<? extends Entity> |
NewGTFSError.entityType
The class of the table in which the error was encountered.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Entity> |
GTFSError.getAffectedEntityType() |
| Modifier and Type | Method and Description |
|---|---|
static NewGTFSError |
NewGTFSError.forEntity(Entity entity,
NewGTFSErrorType errorType) |
| Modifier and Type | Class and Description |
|---|---|
class |
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.
|
interface |
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.
|
interface |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Entity> |
Table.getEntityClass() |
| Constructor and Description |
|---|
Table(String name,
Class<? extends Entity> entityClass,
Requirement required,
Field... fields) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Entity.Loader<E extends Entity> |
static class |
Entity.Writer<E extends Entity>
Write this entity to a CSV file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Agency |
class |
Calendar |
class |
CalendarDate |
class |
FareAttribute |
class |
FareRule |
class |
FeedInfo |
class |
Frequency |
class |
Pattern
Represents a collection of trips that all visit the same stops in the same sequence.
|
class |
PatternStop
A pattern stop represents generalized information about a stop visited by a pattern, i.e.
|
class |
Route |
class |
ScheduleException
Represents an exception to the schedule, which could be "On January 18th, run a Sunday schedule"
(useful for holidays), or could be "on June 23rd, run the following services" (useful for things
like early subway shutdowns, re-routes, etc.)
Unlike the GTFS schedule exception model, we assume that these special calendars are all-or-nothing;
everything that isn't explicitly running is not running.
|
class |
ShapePoint |
class |
Stop |
class |
StopTime
Represents a GTFS StopTime.
|
class |
Transfer |
class |
Trip |
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.registerError(Entity entity,
NewGTFSErrorType errorType)
Store an error that affects a single line of a single table.
|
void |
Validator.registerError(Entity entity,
NewGTFSErrorType errorType,
Object badValue)
Store an error that affects a single line of a single table.
|
Copyright © 2019. All rights reserved.