All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.conveyal.gtfs.loader.TableReader Maven / Gradle / Ivy

package com.conveyal.gtfs.loader;

import com.conveyal.gtfs.model.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. all stop times with the same trip_id).
 * Created by abyrd on 2017-04-06
 */
public interface TableReader  extends Iterable {

    T get (String id);

    Iterable getOrdered (String id);

    Iterable getAll ();

    Iterable getAllOrdered ();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy