public interface EntityPopulator<T>
| Modifier and Type | Field and Description |
|---|---|
static EntityPopulator<Agency> |
AGENCY |
static EntityPopulator<Calendar> |
CALENDAR |
static EntityPopulator<CalendarDate> |
CALENDAR_DATE |
static EntityPopulator<FareAttribute> |
FARE_ATTRIBUTE |
static EntityPopulator<Frequency> |
FREQUENCY |
static org.slf4j.Logger |
LOG |
static EntityPopulator<PatternStop> |
PATTERN_STOP |
static EntityPopulator<Route> |
ROUTE |
static EntityPopulator<ScheduleException> |
SCHEDULE_EXCEPTION |
static EntityPopulator<ShapePoint> |
SHAPE_POINT |
static EntityPopulator<Stop> |
STOP |
static EntityPopulator<StopTime> |
STOP_TIME |
static EntityPopulator<Trip> |
TRIP |
| Modifier and Type | Method and Description |
|---|---|
static LocalDate |
getDateIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static List<LocalDate> |
getDateListIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static double |
getDoubleIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static int |
getIntIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static String |
getStringIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static List<String> |
getStringListIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static URL |
getUrlIfPresent(ResultSet resultSet,
String columnName,
gnu.trove.map.TObjectIntMap<String> columnForName) |
T |
populate(ResultSet results,
gnu.trove.map.TObjectIntMap<String> columnForName) |
static final org.slf4j.Logger LOG
static final EntityPopulator<PatternStop> PATTERN_STOP
static final EntityPopulator<Agency> AGENCY
static final EntityPopulator<Calendar> CALENDAR
static final EntityPopulator<CalendarDate> CALENDAR_DATE
static final EntityPopulator<FareAttribute> FARE_ATTRIBUTE
static final EntityPopulator<Frequency> FREQUENCY
static final EntityPopulator<ScheduleException> SCHEDULE_EXCEPTION
static final EntityPopulator<Route> ROUTE
static final EntityPopulator<Stop> STOP
static final EntityPopulator<Trip> TRIP
static final EntityPopulator<ShapePoint> SHAPE_POINT
static final EntityPopulator<StopTime> STOP_TIME
T populate(ResultSet results, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic String getStringIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic LocalDate getDateIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic List<String> getStringListIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic List<LocalDate> getDateListIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic URL getUrlIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic double getDoubleIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionstatic int getIntIfPresent(ResultSet resultSet, String columnName, gnu.trove.map.TObjectIntMap<String> columnForName) throws SQLException
SQLExceptionCopyright © 2019. All rights reserved.