LineTimestampComputer
LineTimestampComputer
Computer that extracts timestamps from line data. More…
#include <LineTimestampComputer.h>
Inherits from IColumnComputer< int64_t >
Public Functions
| Name | |
|---|---|
| LineTimestampComputer(std::shared_ptr< LineData > lineSource, std::string sourceName, std::shared_ptr< TimeFrame > sourceTimeFrame) | |
| virtual std::pair< std::vector< int64_t >, ColumnEntityIds > | compute(ExecutionPlan const & plan) const override The core batch computation method. |
| std::vector< std::string > | getDependencies() const override |
| std::string | getSourceDependency() const override |
| EntityIdStructure | getEntityIdStructure() const override |
Additional inherited members
Public Functions inherited from IColumnComputer< int64_t >
| Name | |
|---|---|
| virtual | ~IColumnComputer() =default |
| IColumnComputer(IColumnComputer const & ) =delete | |
| IColumnComputer & | operator=(IColumnComputer const & ) =delete |
| IColumnComputer(IColumnComputer && ) =delete | |
| IColumnComputer & | operator=(IColumnComputer && ) =delete |
| virtual ColumnEntityIds | computeColumnEntityIds(ExecutionPlan const & plan) const Computes all EntityIDs for the column using the high-level variant approach. |
| virtual std::vector< EntityId > | computeCellEntityIds(ExecutionPlan const & plan, size_t row_index) const Computes EntityIDs for a specific row. |
| virtual bool | hasEntityIds() const Checks if this computer can provide EntityID information. |
Protected Functions inherited from IColumnComputer< int64_t >
| Name | |
|---|---|
| IColumnComputer() =default |
Detailed Description
class LineTimestampComputer;Computer that extracts timestamps from line data.
Source type: LineData Selector type: Timestamp Output type: int64_t
Given a line source and a Timestamp-based ExecutionPlan, extracts the timestamp value for each line. Multiple lines at the same timestamp are expanded into separate rows, each with the same timestamp value.
Public Functions Documentation
function LineTimestampComputer
inline LineTimestampComputer(
std::shared_ptr< LineData > lineSource,
std::string sourceName,
std::shared_ptr< TimeFrame > sourceTimeFrame
)function compute
inline virtual std::pair< std::vector< int64_t >, ColumnEntityIds > compute(
ExecutionPlan const & plan
) const overrideThe core batch computation method.
Parameters:
- plan The execution plan containing cached access patterns.
Return: Vector of computed values for the entire column.
Reimplements: IColumnComputer::compute
This method performs the actual computation of all column values based on the provided execution plan. The execution plan contains the cached access patterns (indices or intervals) for the data source.
function getDependencies
inline std::vector< std::string > getDependencies() const overridefunction getSourceDependency
inline std::string getSourceDependency() const overridefunction getEntityIdStructure
inline EntityIdStructure getEntityIdStructure() const overrideUpdated on 2026-11-13 at 20:25:40 +0000