ReferenceDataObject
Reference data provides additional context to support advance stream processing use case
Overview
Joule provides a base implementation for the storage of a reference data element. The class extends the HashMap<String, Object> class and therefore has all the benefits of a Map with a couple of extensions.
The ReferenceDataObject provides a generic data structure for reference data to be store and queried against
Understanding this structure and how to use it enables you to develop custom components that are optimised for processing efficiency while providing the enough flexibility to represent external data within the Joule platform.
Key Features
ReferenceDataObject can be located under the following package
Attributes
Attribute | Description | Type |
---|---|---|
key | Unique reference data key used when performing query lookups | Object |
data | Custom data to be stored outside of the Map structure | Object |
Key Methods
Key
To add new attributes to an event there are two methods which can be used. If a null value has been passed this will be converted to a String null
value.
Data
o add new attributes to an event there are two methods which can be used. If a null value has been passed this will be converted to a String null
value.
Last updated