Skip to main content

Module series_scan

Module series_scan 

Source
Expand description

Per-series scan implementation.

Structsยง

CandidateReceiver ๐Ÿ”’
FlatSeriesBatch
Batches of the same series in flat format.
FlatSeriesBatchDivider ๐Ÿ”’
A divider to split flat record batches by time series.
SenderList ๐Ÿ”’
List of senders.
SeriesCandidateDistributor ๐Ÿ”’
Discovers metric series and sends one reader assignment to each partition.
SeriesDistributor ๐Ÿ”’
The distributor scans series and distributes them to different partitions.
SeriesReaderInput ๐Ÿ”’
Input required by a partition-local series reader.
SeriesScan
Scans a region and returns sorted rows of a series in the same partition.

Enumsยง

SeriesBatch
Batches of the same series.
SeriesScanMode ๐Ÿ”’

Constantsยง

CANDIDATE_SERIES_ASSIGNMENT_THRESHOLD ๐Ÿ”’
Maximum number of candidate series retained before distributing assignments.
SEND_TIMEOUT ๐Ÿ”’
Timeout to send a batch to a sender.

Functionsยง

new_candidate_channel_list ๐Ÿ”’
new_legacy_channel_list ๐Ÿ”’
new_partition_metrics ๐Ÿ”’
primary_key_at ๐Ÿ”’
Helper function to extract primary key bytes at a specific index from PrimaryKeyArray.

Type Aliasesยง

CandidateReceiverList ๐Ÿ”’
Candidate assignment receivers for output partitions.
CandidateSenderList ๐Ÿ”’
Candidate assignment senders for output partitions.
LegacyReceiverList ๐Ÿ”’
Legacy data receivers for output partitions.