Class StreamDataTopic
java.lang.Object
org.radarbase.config.AvroTopicConfig
org.radarbase.schema.specification.DataTopic
org.radarbase.schema.specification.stream.StreamDataTopic
Topic used for Kafka Streams.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the input topics.Get only topic names that are used with the fixed time windows.getTopic()Get human readable output topic.Get all topic names that are provided by the data.Stream<org.radarbase.topic.AvroTopic<?,?>> getTopics(SchemaCatalogue schemaCatalogue) Get all Avro topics that are provided by the data.booleanprotected voidpropertiesMap(Map<String, Object> properties, boolean reduce) Turns this topic into an descriptive properties map.Methods inherited from class org.radarbase.schema.specification.DataTopic
getDoc, getFields, getSampleRate, getType, getUnit, setKeySchema, setValueSchema, toString, toStringMethods inherited from class org.radarbase.config.AvroTopicConfig
getKeySchema, getTags, getValueSchema, parseAvroTopic, setTags, setTopic
-
Constructor Details
-
StreamDataTopic
public StreamDataTopic()
-
-
Method Details
-
getTopic
Get human readable output topic.- Overrides:
getTopicin classorg.radarbase.config.AvroTopicConfig
-
isWindowed
public boolean isWindowed() -
getInputTopics
Get the input topics. -
getTopicBase
-
getTopicNames
Description copied from class:DataTopicGet all topic names that are provided by the data.- Overrides:
getTopicNamesin classDataTopic
-
getTopics
Description copied from class:DataTopicGet all Avro topics that are provided by the data. -
getTimedTopicNames
Get only topic names that are used with the fixed time windows. -
propertiesMap
Description copied from class:DataTopicTurns this topic into an descriptive properties map.- Overrides:
propertiesMapin classDataTopic- Parameters:
properties- properties to add to.reduce- whether to set a reduced set of properties, to decrease verbosity.
-