pub fn foreign_keys(&self) -> Vec<(LogVariant, Vec<(usize, usize)>)> {
        match self {
            LogVariant::Timely(TimelyLog::Operates) => vec![],
            LogVariant::Timely(TimelyLog::Channels) => vec![],
            LogVariant::Timely(TimelyLog::Elapsed) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Histogram) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Addresses) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Parks) => vec![],
            LogVariant::Timely(TimelyLog::MessagesReceived)
            | LogVariant::Timely(TimelyLog::MessagesSent) => vec![
                (
                    LogVariant::Timely(TimelyLog::Channels),
                    vec![(0, 0), (1, 1)],
                ),
                (
                    LogVariant::Timely(TimelyLog::Channels),
                    vec![(0, 0), (2, 2)],
                ),
            ],
            LogVariant::Timely(TimelyLog::Reachability) => vec![],
            LogVariant::Differential(DifferentialLog::ArrangementBatches)
            | LogVariant::Differential(DifferentialLog::ArrangementRecords)
            | LogVariant::Differential(DifferentialLog::Sharing) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Materialized(MaterializedLog::DataflowCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::DataflowDependency) => vec![],
            LogVariant::Materialized(MaterializedLog::FrontierCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::KafkaSourceStatistics) => vec![(
                LogVariant::Materialized(MaterializedLog::SourceInfo),
                vec![(0, 1)],
            )],
            LogVariant::Materialized(MaterializedLog::PeekCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::SourceInfo) => vec![],
            LogVariant::Materialized(MaterializedLog::PeekDuration) => vec![],
        }
    }
/// Foreign key relations from the log variant to other log collections.
///
/// The result is a list of other variants, and for each a list of local
/// and other column identifiers that can be equated.
Foreign key relations from the log variant to other log collections.
The result is a list of other variants, and for each a list of local
and other column identifiers that can be equated.
Foreign key relations from the log variant to other log collections . The result is a list of other variants and for each a list of local and other column identifiers that can be equated .
pub fn foreign_keys(&self) -> Vec<(LogVariant, Vec<(usize, usize)>)> {
        match self {
            LogVariant::Timely(TimelyLog::Operates) => vec![],
            LogVariant::Timely(TimelyLog::Channels) => vec![],
            LogVariant::Timely(TimelyLog::Elapsed) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Histogram) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Addresses) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Timely(TimelyLog::Parks) => vec![],
            LogVariant::Timely(TimelyLog::MessagesReceived)
            | LogVariant::Timely(TimelyLog::MessagesSent) => vec![
                (
                    LogVariant::Timely(TimelyLog::Channels),
                    vec![(0, 0), (1, 1)],
                ),
                (
                    LogVariant::Timely(TimelyLog::Channels),
                    vec![(0, 0), (2, 2)],
                ),
            ],
            LogVariant::Timely(TimelyLog::Reachability) => vec![],
            LogVariant::Differential(DifferentialLog::ArrangementBatches)
            | LogVariant::Differential(DifferentialLog::ArrangementRecords)
            | LogVariant::Differential(DifferentialLog::Sharing) => vec![(
                LogVariant::Timely(TimelyLog::Operates),
                vec![(0, 0), (1, 1)],
            )],
            LogVariant::Materialized(MaterializedLog::DataflowCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::DataflowDependency) => vec![],
            LogVariant::Materialized(MaterializedLog::FrontierCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::KafkaSourceStatistics) => vec![(
                LogVariant::Materialized(MaterializedLog::SourceInfo),
                vec![(0, 1)],
            )],
            LogVariant::Materialized(MaterializedLog::PeekCurrent) => vec![],
            LogVariant::Materialized(MaterializedLog::SourceInfo) => vec![],
            LogVariant::Materialized(MaterializedLog::PeekDuration) => vec![],
        }
    }
pub fn foreign_keys ( & self ) -> Vec < ( LogVariant , Vec < ( usize , usize ) > ) > { match self { LogVariant :: Timely ( TimelyLog :: Operates ) => vec ! [ ] , LogVariant :: Timely ( TimelyLog :: Channels ) => vec ! [ ] , LogVariant :: Timely ( TimelyLog :: Elapsed ) => vec ! [ ( LogVariant Timely ( TimelyLog Operates ) vec [ ( 0 0 ) ( 1 1 ) ] ) ] , LogVariant :: Timely ( TimelyLog :: Histogram ) => vec ! [ ( LogVariant Timely ( TimelyLog Operates ) vec [ ( 0 0 ) ( 1 1 ) ] ) ] , LogVariant :: Timely ( TimelyLog :: Addresses ) => vec ! [ ( LogVariant Timely ( TimelyLog Operates ) vec [ ( 0 0 ) ( 1 1 ) ] ) ] , LogVariant :: Timely ( TimelyLog :: Parks ) => vec ! [ ] , LogVariant :: Timely ( TimelyLog :: MessagesReceived ) | LogVariant :: Timely ( TimelyLog :: MessagesSent ) => vec ! [ ( LogVariant Timely ( TimelyLog Channels ) vec [ ( 0 0 ) ( 1 1 ) ] ) ( LogVariant Timely ( TimelyLog Channels ) vec [ ( 0 0 ) ( 2 2 ) ] ) ] , LogVariant :: Timely ( TimelyLog :: Reachability ) => vec ! [ ] , LogVariant :: Differential ( DifferentialLog :: ArrangementBatches ) | LogVariant :: Differential ( DifferentialLog :: ArrangementRecords ) | LogVariant :: Differential ( DifferentialLog :: Sharing ) => vec ! [ ( LogVariant Timely ( TimelyLog Operates ) vec [ ( 0 0 ) ( 1 1 ) ] ) ] , LogVariant :: Materialized ( MaterializedLog :: DataflowCurrent ) => vec ! [ ] , LogVariant :: Materialized ( MaterializedLog :: DataflowDependency ) => vec ! [ ] , LogVariant :: Materialized ( MaterializedLog :: FrontierCurrent ) => vec ! [ ] , LogVariant :: Materialized ( MaterializedLog :: KafkaSourceStatistics ) => vec ! [ ( LogVariant Materialized ( MaterializedLog SourceInfo ) vec [ ( 0 1 ) ] ) ] , LogVariant :: Materialized ( MaterializedLog :: PeekCurrent ) => vec ! [ ] , LogVariant :: Materialized ( MaterializedLog :: SourceInfo ) => vec ! [ ] , LogVariant :: Materialized ( MaterializedLog :: PeekDuration ) => vec ! [ ] , } }
Foreign key relations from the log variant to other log collections.
Foreign key relations from the log variant to other log collections .
&self
&self