@Override
    public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException {
        int oneBasedIndex = 1;
        if (!setDefaultId) statement.setInt(oneBasedIndex++, id);
        statement.setString(oneBasedIndex++, trip_id);
        setIntParameter(statement, oneBasedIndex++, start_time);
        setIntParameter(statement, oneBasedIndex++, end_time);
        setIntParameter(statement, oneBasedIndex++, headway_secs);
        setIntParameter(statement, oneBasedIndex++, exact_times);
    }
@Override
    public void setStatementParameters(PreparedStatement statement, boolean setDefaultId) throws SQLException {
        int oneBasedIndex = 1;
        if (!setDefaultId) statement.setInt(oneBasedIndex++, id);
        statement.setString(oneBasedIndex++, trip_id);
        setIntParameter(statement, oneBasedIndex++, start_time);
        setIntParameter(statement, oneBasedIndex++, end_time);
        setIntParameter(statement, oneBasedIndex++, headway_secs);
        setIntParameter(statement, oneBasedIndex++, exact_times);
    }
@ Override public void setStatementParameters ( PreparedStatement statement , boolean setDefaultId ) throws SQLException { int oneBasedIndex = 1 ; if ( ! setDefaultId ) statement . setInt ( oneBasedIndex ++ , id ) ; statement . setString ( oneBasedIndex ++ , trip_id ) ; setIntParameter ( statement , oneBasedIndex ++ , start_time ) ; setIntParameter ( statement , oneBasedIndex ++ , end_time ) ; setIntParameter ( statement , oneBasedIndex ++ , headway_secs ) ; setIntParameter ( statement , oneBasedIndex ++ , exact_times ) ; }
Sets the parameters for a prepared statement following the parameter order defined in
{@link com.conveyal.gtfs.loader.Table#FREQUENCIES}. JDBC prepared statement parameters use a one-based index.
Sets the parameters for a prepared statement following the parameter order defined in {