Class AnalyticsRecord
java.lang.Object
com.tccc.kos.core.service.analytics.AnalyticsRecord
Represents an internal form of an analytics event used for classification and database storage.
When an event is first recorded using the
AnalyticsService,
it exists as an AnalyticsEvent. It is then converted
into an AnalyticsRecord, which is passed to AnalyticsClassifier
to link the event to the correct channels. The event data in this class is stored as escaped JSON,
making it suitable for safe storage and internal processing before export.
This contains similar data to AnalyticsExportBean but
has different JSON serialization characteristics which incorporates data as escaped JSON
instead of inline JSON, making it better for internal storage.
- Version:
- 2024-03-12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()getType()voidvoidvoidsetPriority(Integer priority) voidsetTimestamp(String timestamp) voidsetTimestampMs(Long timestampMs) void
-
Constructor Details
-
AnalyticsRecord
public AnalyticsRecord()
-
-
Method Details
-
getNodeId
-
getTimestamp
-
getType
-
getData
-
getTimestampMs
-
getPriority
-
setNodeId
-
setTimestamp
-
setType
-
setData
-
setTimestampMs
-
setPriority
-