MCPcopy Create free account

hub / github.com/influxdata/influxdb / functions

Functions11,906 in github.com/influxdata/influxdb

↓ 2 callersFunctionmake_stream_slow
Ensure that there is a delay between steam responses.
core/service_grpc_flight/src/keep_alive.rs:342
↓ 2 callersFunctionmake_struct_fields
Create [`Fields`] for the output struct.
core/query_functions/src/selectors/type_handling.rs:23
↓ 2 callersMethodmake_writer
(&'a self)
core/trogging/src/lib.rs:290
↓ 2 callersMethodmake_writer
(&self)
core/logfmt/tests/logging.rs:392
↓ 2 callersFunctionmap_expr_err
(expr: &Expr)
core/influxdb_influxql_parser/src/time_range.rs:739
↓ 2 callersFunctionmap_to_expr
Map the fields to DataFusion [`Expr::Sort`] expressions, excluding those columns that are [`DataType::Null`]'s, as sorting these column types is not s
core/iox_query_influxql/src/plan/planner/select.rs:76
↓ 2 callersMethodmark_checkpoint_created
Mark that a checkpoint was just created.
influxdb3_write/src/persister.rs:406
↓ 2 callersMethodmask
(&self, mut stats: DFStatistics)
core/iox_query/src/statistics/aggregate_per_chunk.rs:562
↓ 2 callersMethodmax
Returns the maximum sequence number contained by the set, if any.
core/data_types/src/sequence_number_set.rs:80
↓ 2 callersMethodmax_value
Return the max value at the specified index as a list of single row arrays Used for debugging
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:342
↓ 2 callersMethodmaybe_background_checkpoint
Spawn a background checkpoint task if both the concurrency slot is available and a threshold (log count or wall-clock time) has been crossed since the
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:2774
↓ 2 callersMethodmaybe_reduce
Reduce the precision of the timestamp iff using the default "%Y-%m-%d" formatter string, returning a value rounded to the nearest whole day. If the f
core/partition/src/template/strftime.rs:246
↓ 2 callersMethodmaybe_set_max
(&mut self, v: ScalarValue)
core/iox_query_influxql/src/aggregate/spread.rs:124
↓ 2 callersMethodmaybe_set_min
(&mut self, v: ScalarValue)
core/iox_query_influxql/src/aggregate/spread.rs:118
↓ 2 callersMethodmerge
Merge another checkpoint into this one. The `other` checkpoint should be chronologically later than `self`. This method: 1. Adds all files from `othe
influxdb3_write/src/lib.rs:651
↓ 2 callersFunctionmerge_col_stats
(a: ColumnStatistics, b: &ColumnStatistics)
core/iox_query/src/statistics/partition_statistics/util.rs:93
↓ 2 callersFunctionmerge_partitions_no_projection
Merge partition stats across plan inputs. This does not perform any schema projection.
core/iox_query/src/statistics/partition_statistics/mod.rs:519
↓ 2 callersFunctionmeta
(location: &Path, data: &[u8])
core/object_store_mem_cache/src/store.rs:586
↓ 2 callersMethodmetric_registry
(&self)
influxdb3_server/src/lib.rs:132
↓ 2 callersMethodmetrics
(&self)
core/iox_query/src/provider/progressive_eval.rs:264
↓ 2 callersFunctionmigrate_and_load_snapshot
Two independent runs against equivalent v2 inputs must produce byte-identical v3 snapshots — the synthesis is map-iteration- deterministic, and apply
influxdb3_catalog/src/catalog/migrations/v3/tests.rs:1866
↓ 2 callersMethodmin_value
Return the min value at the specified index as a list of single row arrays Used for debugging
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:330
↓ 2 callersFunctionmissing_tag_to_null
Logic for rewriting expressions from influxrpc that reference non existent columns, or columns that are not tags, to NULL.
core/predicate/src/rpc_predicate/column_rewrite.rs:9
↓ 2 callersMethodmock_next_multi
(self: Arc<Self>, calls: Vec<MockCall>)
influxdb3_test_helpers/src/object_store/mock.rs:315
↓ 2 callersMethodmul
Mul will multiply the Duration by a scalar. This multiplies each component of the vector. Original: <https://github.com/influxdata/flux/blob/1e9bfd49
core/query_functions/src/window/internal.rs:118
↓ 2 callersFunctionmultipart_upload_err
()
core/object_store_mock/src/lib.rs:664
↓ 2 callersMethodmultiplier
multiplier returns the value needed to scale a timestamp with precision units to nanoseconds. The returned value is also suitable to use for truncatin
influxdb3_types/src/write.rs:78
↓ 2 callersMethodn_tombstones
Number of tombstones.
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/ordered_set.rs:146
↓ 2 callersMethodname
(&self)
core/query_functions/src/tz.rs:94
↓ 2 callersMethodname
Name.
core/iox_query/src/query_log.rs:122
↓ 2 callersMethodname
(&self)
core/iox_query/src/physical_optimizer/dedup/dedup_null_columns.rs:91
↓ 2 callersMethodname
(&self)
core/iox_query/src/physical_optimizer/sort/parquet_sortness.rs:57
↓ 2 callersMethodname
(&self)
core/iox_query/src/exec/gapfill/mod.rs:202
↓ 2 callersMethodname
(&self)
influxdb3_catalog/src/catalog/versions/v1.rs:1015
↓ 2 callersMethodname_to_id
(&self, column_name: impl AsRef<str>)
influxdb3_catalog/src/catalog/versions/v2/legacy.rs:168
↓ 2 callersMethodname_to_id
(&self, column_name: impl AsRef<str>)
influxdb3_catalog/src/catalog/versions/v3/legacy.rs:151
↓ 2 callersMethodnew_empty
Create new statistics with no values
core/data_types/src/lib.rs:1839
↓ 2 callersMethodnew_query_context
( &self, span_ctx: Option<SpanContext>, _config: Option<&QueryConfig>, )
influxdb3_query_executor/src/lib.rs:626
↓ 2 callersMethodnext
(&mut self)
influxdb3_load_generator/src/commands/write_fixed.rs:152
↓ 2 callersMethodnode
( time_ns: i64, node_catalog_id: NodeId, node_id: impl Into<Arc<str>>, ops: Ve
influxdb3_catalog/src/log/versions/v2.rs:39
↓ 2 callersMethodnode_catalog_id
(&self)
influxdb3_catalog/src/catalog/versions/v2.rs:2189
↓ 2 callersFunctionnormalize_for_variable_width
(s: Cow<'_, str>)
core/arrow_util/src/test_util.rs:267
↓ 2 callersMethodnormalize_text
(&self, txt: Vec<String>)
core/arrow_util/src/test_util.rs:400
↓ 2 callersFunctionnormalize_time
(stmt: &mut Select, is_subquery: bool)
core/iox_query_influxql/src/plan/rewriter.rs:477
↓ 2 callersMethodnotify
(&self, write: Arc<WalContents>)
influxdb3_processing_engine/src/lib.rs:1175
↓ 2 callersMethodnotify_and_snapshot
( &self, write: Arc<WalContents>, snapshot_details: SnapshotDetails, )
influxdb3_wal/src/object_store/tests.rs:887
↓ 2 callersFunctionnull_string_array
(num: usize)
core/parquet_file/src/lib.rs:869
↓ 2 callersMethodnullable
Returns whether this expression is nullable when evaluated against the given schema. The result is nullable if either the expression or the default v
core/iox_query/src/exec/series_limit/logical.rs:142
↓ 2 callersMethodnum_dbs_limit
(&self)
influxdb3_catalog/src/catalog/versions/v1.rs:158
↓ 2 callersMethodnum_field_columns
(&self)
influxdb3_catalog/src/catalog/versions/v3/schema/table.rs:366
↓ 2 callersFunctionobject_meta
()
influxdb3_test_helpers/src/object_store/mock.rs:546
↓ 2 callersFunctionobject_store_error_to_tonic_code
(e: &object_store::Error)
core/service_common/src/error.rs:178
↓ 2 callersMethodobservations
Returns a list of `ObservationSet` for each reported metric
core/metric/src/lib.rs:369
↓ 2 callersMethodobserve
(&self)
core/metric/src/gauge.rs:72
↓ 2 callersFunctionoffset_from_local_ns
Calculate the offset in nanoseconds that needs to be added to a local timestamp to get a UTC timestamp in a timezone. If the time represented by `loc
core/query_functions/src/date_bin_wallclock.rs:462
↓ 2 callersMethodon_planned
Physical planning completed (the underlying `QueryLogEntry` reached the `PhysicallyPlanned` state). Will not fire on queries that fail during logical
core/service_grpc_flight/src/observer.rs:64
↓ 2 callersMethodone_tag_two_fields
Returns a set of batches like this: tag1, field1, field2
core/iox_query/benches/deduplicate.rs:168
↓ 2 callersMethodoperation_observer
(&self, catalog: Arc<Catalog>, mut recv: CatalogUpdateReceiver)
influxdb3_catalog/src/catalog/versions/v2.rs:139
↓ 2 callersMethodoperation_observer
(self: &Arc<Self>, mut recv: CatalogUpdateReceiver)
influxdb3_catalog/src/catalog/versions/v2/metrics.rs:39
↓ 2 callersMethodord_id
Return the legacy column ID, when one is assigned. Columns added to a PachaTree-mode table after `u16::MAX` ids have been assigned will return `None`
influxdb3_catalog/src/catalog/versions/v3/schema/column.rs:72
↓ 2 callersMethodord_id_ref
Return a reference the column ordinal ID when one is assigned.
influxdb3_catalog/src/catalog/versions/v2/legacy.rs:263
↓ 2 callersMethodord_id_ref
Return a reference to the column ordinal ID.
influxdb3_catalog/src/catalog/versions/v3/legacy.rs:244
↓ 2 callersMethodord_id_to_name
(&self, column_id: &ColumnId)
influxdb3_catalog/src/catalog/versions/v3/schema/column.rs:327
↓ 2 callersMethodordered_ranges
Iterator over the in lexical ranges in order
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:222
↓ 2 callersMethodoutput_sort_key_memo
Sort key that was passed to [`chunks_to_physical_nodes`]. This is NOT used to set the output ordering. It is only here to recover this information la
core/iox_query/src/provider/record_batch_exec.rs:110
↓ 2 callersMethodoverflow_err
(&self, ty: &str)
influxdb3_catalog/src/format/records/repository.rs:141
↓ 2 callersFunctionoverlap
Return true if at least 2 min_max ranges in the given array overlap
core/iox_query/src/statistics/stats_utils.rs:43
↓ 2 callersFunctionparallel_parquet_options
Helper to contruct [`TableParquetOptions`] for parallelized writes. The configuration used here should be the same as in [`writer_props`].
core/parquet_file/src/serialize.rs:326
↓ 2 callersFunctionparameter_types_to_schema
Return the parameter schema for the specified map of parameters. Map can be produced from [LogicalPlan::get_parameter_types]
core/flightsql/src/planner.rs:379
↓ 2 callersFunctionparameterized_separated_list
This is a copied version of nom's `separated_list` that allows parameterizing the created collection via closures.
core/influxdb_line_protocol/src/lib.rs:1057
↓ 2 callersFunctionparameterized_separated_list1
( mut sep: G, mut f: F, cre: impl FnOnce() -> Ret, mut add: impl FnMut(&mut Ret, O), )
core/influxdb_line_protocol/src/lib.rs:1121
↓ 2 callersFunctionparams
An error that was the result of invalid InfluxQL bind parameters.
core/iox_query_influxql/src/error.rs:9
↓ 2 callersFunctionparquet_error_to_tonic_code
Translate [`ParquetError`] to [tonic code](tonic::Status). This is done by traversing the error chain, similar to [`datafusion_error_to_tonic_code`].
core/service_common/src/error.rs:129
↓ 2 callersFunctionparquet_path
()
core/iox_query/src/test.rs:1628
↓ 2 callersMethodparquet_row_group_metadata
return row group metadata
core/parquet_file/src/metadata.rs:729
↓ 2 callersFunctionparse_generation
(value: &HeaderValue)
core/catalog_cache/src/api/server.rs:254
↓ 2 callersFunctionparse_hard_delete_time
(value: Option<String>)
influxdb3/src/commands/delete.rs:266
↓ 2 callersFunctionparse_span
(s: &str)
core/trace_http/src/ctx.rs:60
↓ 2 callersFunctionparsed_header
Decodes and parses a given header from the provided HeaderMap - Returns Ok(None) if the header doesn't exist - Returns Err if the header fails to dec
core/trace_http/src/ctx.rs:249
↓ 2 callersMethodpartition_id
(&self)
core/iox_query/src/test.rs:1198
↓ 2 callersMethodpath_already_fetched
Check if an entry in the cache is in process of being fetched or if it was already fetched successfully This does not update the hit time of the entr
influxdb3_cache/src/parquet_cache/mod.rs:463
↓ 2 callersFunctionpercentile_idx
Calculate the location in an ordered list of len items where the location of the item at the given percentile would be found. Note that row numbers a
core/iox_query_influxql/src/window/percent_row_number.rs:116
↓ 2 callersFunctionpermit_get_result
(r: GetResult, permit: InstrumentedAsyncOwnedSemaphorePermit)
object_store_limit/src/lib.rs:229
↓ 2 callersMethodpersist_ordered_batch_to_object_store
Persist an `OrderedCatalogBatch` to the object store catalog. This handles broadcast of catalog updates for any unseen catalog files that need to be f
influxdb3_catalog/src/catalog/versions/v2/update.rs:1356
↓ 2 callersMethodpersist_parquet_file
Writes a [`SendableRecordBatchStream`] to the Parquet format and persists it to Object Store at the given path. Returns the number of bytes written an
influxdb3_write/src/persister.rs:925
↓ 2 callersFunctionpersist_table_index
( object_store: &Arc<dyn ObjectStore>, table_id: &TableIndexId, file_count: usize,
influxdb3_write/src/table_index_cache/tests.rs:2663
↓ 2 callersMethodpersist_upgrade_log
Persist an `UpgradedLog` marker as the v2 log file at `sequence_number`, terminating any further v2 mutations. # Note This is a "v2" method but is o
influxdb3_catalog/src/object_store/versions/v2.rs:194
↓ 2 callersFunctionpivot_to_arrays
Convert a multi-column ScalarValue row to columns
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:399
↓ 2 callersMethodplan
(self)
core/iox_query/src/exec/gapfill/exec_tests.rs:1526
↓ 2 callersMethodplan_condition
( &self, tz: &Option<Arc<str>>, condition: Option<&ConditionalExpression>, pla
core/iox_query_influxql/src/plan/planner.rs:3301
↓ 2 callersMethodplan_time_range
( &self, tz: &Option<Arc<str>>, time_range: TimeRange, plan: LogicalPlan,
core/iox_query_influxql/src/plan/planner.rs:3335
↓ 2 callersFunctionplan_with_sort
Create a plan that sorts the input plan. The ordering of the results is as follows: iox::measurement, [group by tag 0, .., group by tag n], time, [p
core/iox_query_influxql/src/plan/planner/select.rs:57
↓ 2 callersMethodpoll_next_unpin
(&mut self, cx: &mut Context<'_>)
core/iox_v1_query_api/src/response/buffered.rs:52
↓ 2 callersFunctionpprof_heap_response
Trigger a jemalloc heap profile dump and build a streaming Response containing the resulting `heap_v2` bytes. Profiling must be enabled at process st
core/jemalloc_pprof_http/src/lib.rs:35
↓ 2 callersFunctionpredicate_field
(schema: &SchemaRef)
core/iox_query/src/physical_optimizer/predicate_pushdown.rs:507
↓ 2 callersFunctionpreload_restore_for_records
Pre-load any `RestoreCatalog` record's backup state from object store. Async; runs outside the catalog's write lock. The returned [`RestorePreload`]
influxdb3_catalog/src/format/apply.rs:209
↓ 2 callersFunctionprepare_schema_for_flight
Prepare an arrow Schema for transport over the Arrow Flight protocol Converts dictionary types to underlying types due to <https://github.com/apache/
core/arrow_util/src/flight.rs:8
↓ 2 callersFunctionprev_null_as_missing_fill_strategy
(idx: usize)
core/iox_query/src/exec/gapfill/algo.rs:1643
↓ 2 callersMethodprocess_completed_job
(&mut self, job: &TaskTracker<T>)
core/tracker/src/task/metrics.rs:211
↓ 2 callersFunctionproject_output_ordering
Given the output ordering and a projected schema, returns the largest prefix of the ordering that is in the projection For example, ```text output_o
core/iox_query/src/physical_optimizer/projection_pushdown.rs:292
← previousnext →2,701–2,800 of 11,906, ranked by callers