Class SourceCatalogue
java.lang.Object
org.radarbase.schema.specification.SourceCatalogue
TODO.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionActiveSource<?>getActiveSource(String topic) TODO.Map<String,ActiveSource<?>> TODO.TODO.getMonitorSource(String topic) TODO.TODO.getPassiveSource(String topic) TODO.TODO.Set<DataProducer<?>>TODO.Stream<org.radarbase.topic.AvroTopic<?,?>> Get all topics in the catalogue.static SourceCatalogueLoad the source catalogue based at the given root directory.
-
Field Details
-
BASE_PATH
-
-
Method Details
-
load
Load the source catalogue based at the given root directory.- Parameters:
root- Directory containing a specifications subdirectory.- Returns:
- parsed source catalogue.
- Throws:
InvalidPathException- if thespecificationsdirectory cannot be found in given root.IOException- if the source catalogue could not be read.
-
getSchemaCatalogue
-
getActiveSources
TODO.- Returns:
- TODO
-
getActiveSource
TODO.- Parameters:
topic- TODO- Returns:
- TODO
-
getMonitorSources
TODO.- Returns:
- TODO
-
getMonitorSource
TODO.- Parameters:
topic- TODO- Returns:
- TODO
-
getPassiveSources
TODO.- Returns:
- TODO
-
getPassiveSource
TODO.- Parameters:
topic- TODO- Returns:
- TODO
-
getStreamGroups
-
getSources
-
getTopicNames
TODO.- Returns:
- TODO
-
getConnectorSources
TODO.- Returns:
- TODO
-
getPushSources
-
getTopics
Get all topics in the catalogue.
-