StructsΒ§
- Async
Record Batch Stream Adapter - DfRecord
Batch Stream Adapter - Greptime SendableRecordBatchStream -> DataFusion RecordBatchStream. The reverse one is RecordBatchStreamAdapter.
- Metric
Collector - An [ExecutionPlanVisitor] to collect metrics from a [ExecutionPlan].
- Native
Tree Metric - The tree an operator runs, registered as one of that operatorβs metrics.
- Native
Tree Metrics - One node of a tree an operator runs inside itself, with the figures that node recorded.
- Plan
Metrics - Record
Batch Metrics RecordBatchMetricscarrys metrics value from datanode to frontend through gRPC- Record
Batch Stream Adapter - DataFusion SendableRecordBatchStream -> Greptime RecordBatchStream. The reverse one is DfRecordBatchStreamAdapter. It can collect metrics from DataFusion execution plan.
- Record
Batch Stream Type Adapter - Casts the
RecordBatches ofstreamagainst theoutput_schema. - Region
Query Stat Counters - Query statistic counters owned by a region.
- Region
Watermark Entry
EnumsΒ§
- Async
Record πBatch Stream Adapter State - Metrics π
- Json encoded metrics. Contains metric from a whole plan tree.
ConstantsΒ§
- NATIVE_
TREE_ METRIC - The name an operator registers its tree under.
- REGION_
SCAN_ πEXEC_ NAME - SERIES_
SCAN_ EXEC_ NAME
FunctionsΒ§
- collect_
full_ πmetrics - Collects the complete plan metrics used by terminal metrics and verbose analyze output.
- collect_
lightweight_ πquery_ load_ metrics - Collects the minimal metrics needed for query-load reporting before EOF.
- collect_
lightweight_ πquery_ load_ metrics_ inner - Recursively walks the physical plan and reads raw metric values without formatting plan nodes.
- convert_
map_ πto_ json_ binary - Convert a Map array to a Binary array containing JSON data
- custom_
cast π - Custom cast function that handles Map -> Binary (JSON) conversion
- format_
bytes_ human_ readable - Renders
bytesthe way a plan line reports a memory figure. - format_
metric - Renders one metric as
label: value, the way everyANALYZEline reports it. - is_
bytes_ metric - Determines if a metric name represents a bytes measurement that should be formatted.
- is_
region_ πscan_ name - is_
time_ metric - Determines if a metric name represents a time measurement that should be formatted.
- one_
line π - Returns a single-line summary of the root of the plan.
If the
verboseflag is set, it will display detailed information about the plan. - record_
query_ πstats - region_
scan_ output_ bytes - Extracts total
output_bytesfrom region scan plan nodes.
Type AliasesΒ§
- Future
Stream π - Native
Tree πReader - Builds the tree a reader sees, when it asks for it.