Documentation ¶
Index ¶
- type AgenciesMetadataUpdater
- type ComplementaryTablePopuler
- type CreateIndexResult
- type CsvFileImporter
- type CsvFileRewriter
- type GTFSArchiveFile
- func (gaf *GTFSArchiveFile) ImportGTFSArchiveFileWithTableCreation(agencyKey string, folderFilename string, ...) error
- func (gaf *GTFSArchiveFile) ImportGTFSArchiveFileWithoutTableCreation(agencyKey string, folderFilename string, ...) error
- func (gaf *GTFSArchiveFile) Name() string
- func (gaf *GTFSArchiveFile) Size() int64
- type InsertLineResult
- type Line
- type Lines
- type StopTime
- type StopTimesFullImporter
- type StringKeyValue
- type Task
- type TripCacheBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgenciesMetadataUpdater ¶
type AgenciesMetadataUpdater struct {
// contains filtered or unexported fields
}
func NewAgenciesMetadataUpdater ¶
func NewAgenciesMetadataUpdater(driver *database.Driver) *AgenciesMetadataUpdater
func (*AgenciesMetadataUpdater) UpdateAgenciesMetaData ¶
func (amu *AgenciesMetadataUpdater) UpdateAgenciesMetaData(agencyKey, schema string) error
type ComplementaryTablePopuler ¶
type ComplementaryTablePopuler struct {
// contains filtered or unexported fields
}
func NewComplementaryTablePopuler ¶
func NewComplementaryTablePopuler(driver *database.Driver) *ComplementaryTablePopuler
type CreateIndexResult ¶
type CsvFileImporter ¶
type CsvFileImporter struct {
// contains filtered or unexported fields
}
func NewCsvFileImporter ¶
func NewCsvFileImporter(driver *database.Driver, gtfs database.GTFSRepository) *CsvFileImporter
func (*CsvFileImporter) ImportCsvFiles ¶
func (cfi *CsvFileImporter) ImportCsvFiles(agencyKey, outFolderFilename string, columnLengthsByFiles map[string]map[string]int)
type CsvFileRewriter ¶
type CsvFileRewriter struct {
// contains filtered or unexported fields
}
func NewCsvFileRewriter ¶
func NewCsvFileRewriter(tmpDir string) *CsvFileRewriter
func (*CsvFileRewriter) RewriteCsvFiles ¶
type GTFSArchiveFile ¶
type GTFSArchiveFile struct {
// contains filtered or unexported fields
}
func NewGTFSArchiveFile ¶
func NewGTFSArchiveFile(fi os.FileInfo) *GTFSArchiveFile
func (*GTFSArchiveFile) ImportGTFSArchiveFileWithTableCreation ¶
func (gaf *GTFSArchiveFile) ImportGTFSArchiveFileWithTableCreation(agencyKey string, folderFilename string, gtfsModelRepository database.GTFSCreatedModelRepository, columnLengths map[string]interface{}, maxLength int) error
func (*GTFSArchiveFile) ImportGTFSArchiveFileWithoutTableCreation ¶
func (gaf *GTFSArchiveFile) ImportGTFSArchiveFileWithoutTableCreation(agencyKey string, folderFilename string, gtfsModelRepository database.GTFSModelRepository, maxLength int) error
func (*GTFSArchiveFile) Name ¶
func (gaf *GTFSArchiveFile) Name() string
func (*GTFSArchiveFile) Size ¶
func (gaf *GTFSArchiveFile) Size() int64
type InsertLineResult ¶
type StopTimesFullImporter ¶
type StopTimesFullImporter struct {
// contains filtered or unexported fields
}
func NewStopTimesFullImporter ¶
func NewStopTimesFullImporter(driver *database.Driver) *StopTimesFullImporter
func (*StopTimesFullImporter) ImportStopTimesFull ¶
func (stfi *StopTimesFullImporter) ImportStopTimesFull(schema string, columnLengthsByFiles map[string]map[string]int)
type StringKeyValue ¶
type TripCacheBuilder ¶
type TripCacheBuilder struct {
// contains filtered or unexported fields
}
func NewTripCacheBuilder ¶
func NewTripCacheBuilder(driver *database.Driver, redis *redis.Client) *TripCacheBuilder
func (*TripCacheBuilder) BuildTripCache ¶
func (tcb *TripCacheBuilder) BuildTripCache(agencyKey, schema string)
Click to show internal directories.
Click to hide internal directories.