Interface HistoricalNode
- All Known Implementing Classes:
QuestHistoricalNode
,SqliteHistoricalNode
public interface HistoricalNode
The
HistoricalNode
interface represents a versioned node in a historical data system.
Each node is uniquely identified and provides metadata about its creation, data type, and optional retirement status.
This interface is typically implemented by classes that represent historical entities such as database nodes or other structured entities that track changes over time.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the creation timestamp of this historical node.dataType()
Retrieves the data type associated with this historical node, if available.nodeId()
Returns the unique identifier of the historical node.Retrieves the retirement timestamp of this historical node, if available.source()
Returns the qualified path that identifies the source of the historical node.
-
Method Details
-
nodeId
UUID nodeId()Returns the unique identifier of the historical node.- Returns:
- a
UUID
representing the unique identifier of this node.
-
source
QualifiedPath source()Returns the qualified path that identifies the source of the historical node.- Returns:
- a
QualifiedPath
representing the source of this node.
-
dataType
Retrieves the data type associated with this historical node, if available. -
createdTime
Instant createdTime()Retrieves the creation timestamp of this historical node.- Returns:
- an
Instant
representing the point in time when this node was created.
-
retiredTime
Retrieves the retirement timestamp of this historical node, if available. A retirement timestamp indicates the point in time when the node was marked as retired.
-