Class SourceCatalogue

java.lang.Object
org.radarbase.schema.specification.SourceCatalogue

public class SourceCatalogue extends Object
TODO.
  • Field Details

    • BASE_PATH

      public static final Path BASE_PATH
  • Method Details

    • load

      public static SourceCatalogue load(Path root) throws IOException
      Load the source catalogue based at the given root directory.
      Parameters:
      root - Directory containing a specifications subdirectory.
      Returns:
      parsed source catalogue.
      Throws:
      InvalidPathException - if the specifications directory cannot be found in given root.
      IOException - if the source catalogue could not be read.
    • getSchemaCatalogue

      public SchemaCatalogue getSchemaCatalogue()
    • getActiveSources

      public Map<String,ActiveSource<?>> getActiveSources()
      TODO.
      Returns:
      TODO
    • getActiveSource

      public ActiveSource<?> getActiveSource(String topic)
      TODO.
      Parameters:
      topic - TODO
      Returns:
      TODO
    • getMonitorSources

      public Map<String,MonitorSource> getMonitorSources()
      TODO.
      Returns:
      TODO
    • getMonitorSource

      public MonitorSource getMonitorSource(String topic)
      TODO.
      Parameters:
      topic - TODO
      Returns:
      TODO
    • getPassiveSources

      public Map<String,PassiveSource> getPassiveSources()
      TODO.
      Returns:
      TODO
    • getPassiveSource

      public PassiveSource getPassiveSource(String topic)
      TODO.
      Parameters:
      topic - TODO
      Returns:
      TODO
    • getStreamGroups

      public Map<String,StreamGroup> getStreamGroups()
    • getSources

      public Set<DataProducer<?>> getSources()
    • getTopicNames

      public Stream<String> getTopicNames()
      TODO.
      Returns:
      TODO
    • getConnectorSources

      public Map<String,ConnectorSource> getConnectorSources()
      TODO.
      Returns:
      TODO
    • getPushSources

      public Map<String,PushSource> getPushSources()
    • getTopics

      public Stream<org.radarbase.topic.AvroTopic<?,?>> getTopics()
      Get all topics in the catalogue.