AggregationInterface
-
template
-
Table of Contents
Methods
-
diff()
: mixed
-
initialize()
: mixed
-
merge()
: mixed
-
record()
: void
-
toData()
: DataInterface
diff()
public
diff(T $left, T $right) : mixed
Parameters
-
$left
: T
-
-
$right
: T
-
-
psalm-return
-
initialize()
public
initialize() : mixed
-
psalm-return
-
merge()
public
merge(T $left, T $right) : mixed
Parameters
-
$left
: T
-
-
$right
: T
-
-
psalm-return
-
record()
public
record(T $summary, float|int $value, AttributesInterface $attributes, ContextInterface $context, int $timestamp) : void
Parameters
-
$summary
: T
-
-
$value
: float|int
-
-
$attributes
: AttributesInterface
-
-
$context
: ContextInterface
-
-
$timestamp
: int
-
toData()
public
toData(array<string|int, AttributesInterface> $attributes, array<string|int, T> $summaries, array<string|int, array<int, Exemplar>> $exemplars, int $startTimestamp, int $timestamp, string|Temporality $temporality) : DataInterface
Parameters
-
$attributes
: array<string|int, AttributesInterface>
-
-
$summaries
: array<string|int, T>
-
-
$exemplars
: array<string|int, array<int, Exemplar>>
-
-
$startTimestamp
: int
-
-
$timestamp
: int
-
-
$temporality
: string|Temporality
-