| 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.validator |
| Modifier and Type | Method and Description |
|---|---|
NewGTFSError |
NewGTFSError.addInfo(String key,
String value)
Add a single key-value pair of supplemental info to this error.
|
static NewGTFSError |
NewGTFSError.forEntity(Entity entity,
NewGTFSErrorType errorType) |
static NewGTFSError |
NewGTFSError.forFeed(NewGTFSErrorType errorType,
String badValue) |
static NewGTFSError |
NewGTFSError.forLine(Table table,
int lineNumber,
NewGTFSErrorType errorType,
String badValue) |
static NewGTFSError |
NewGTFSError.forTable(Table table,
NewGTFSErrorType errorType) |
NewGTFSError |
NewGTFSError.setBadValue(String badValue) |
NewGTFSError |
NewGTFSError.setEntityId(String entityId) |
NewGTFSError |
NewGTFSError.setSequence(String sequenceAsString) |
| Modifier and Type | Method and Description |
|---|---|
void |
SQLErrorStorage.storeError(NewGTFSError error) |
| Modifier and Type | Method and Description |
|---|---|
void |
SQLErrorStorage.storeErrors(Set<NewGTFSError> errors) |
| Modifier and Type | Field and Description |
|---|---|
Set<NewGTFSError> |
ValidateFieldResult.errors |
| Modifier and Type | Method and Description |
|---|---|
Set<NewGTFSError> |
ReferenceTracker.checkReferencesAndUniqueness(String keyValue,
int lineNumber,
Field field,
String value,
Table table)
During table load, checks the uniqueness of the entity ID and that references are valid.
|
Set<NewGTFSError> |
ReferenceTracker.checkReferencesAndUniqueness(String keyValue,
int lineNumber,
Field field,
String value,
Table table,
String keyField,
String orderField)
During table load, checks the uniqueness of the entity ID and that references are valid.
|
Set<NewGTFSError> |
DateField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
LocalDate localDate)
DateField specific method to set a statement parameter from a
LocalDate. |
abstract Set<NewGTFSError> |
Field.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
CurrencyField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
BooleanField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
IntegerField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
StringField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
StringListField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
LanguageField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
DateField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
DoubleField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
URLField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
DateListField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
ColorField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
ShortField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
Set<NewGTFSError> |
TimeField.setParameter(PreparedStatement preparedStatement,
int oneBasedIndex,
String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.registerError(NewGTFSError error)
Basic storage of user-constructed error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Validator.storeErrors(Set<NewGTFSError> errors)
Stores a set of errors.
|
Copyright © 2019. All rights reserved.