Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ComputeMetaData(val sources: List<NodeIdentity> = emptyList(), val snapshot: Snapshot = Snapshot(), val range: ComputeTimeRange = ComputeTimeRange.NONE, val operation: ComputeOperation = ComputeOperation.AVERAGE, val invocationTriggers: List<InvocationTrigger> = emptyList(), val nodeAction: NodeAction = NodeAction.EXECUTE, val error: String = "", val inputs: List<NodeIdentity> = emptyList()) : SourceMetaData

Payload for a Compute executor node.

Link copied to clipboard

The set of aggregation reductions a Compute node can run.

Link copied to clipboard

Predefined lookback windows for time-series queries.

Functions

Link copied to clipboard

Returns the lower bound of the lookback window in epoch milliseconds — i.e. now - window. For ComputeTimeRange.NONE returns 0L so the caller can pass it as "no lower bound" in a SQL query.

Link copied to clipboard

Renders the enum name in title case for display in the editor dropdown (AVERAGE → "Average", STDDEV → "Stddev").

Renders the enum name in title case for display in the editor dropdown (MINUTE → "Minute", WEEK → "Week").