Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/influxdata/influxdb
/ functions
Functions
11,906 in github.com/influxdata/influxdb
⨍
Functions
11,906
◇
Types & classes
2,644
↳
Endpoints
4
↓ 1 callers
Function
decode_proto_predicate_from_base64
Decodes [`proto::Predicate`] from base64 string.
core/ingester_query_grpc/src/lib.rs:334
↓ 1 callers
Function
decode_response
Decode [`ListEntry`] from a v2 list response
core/catalog_cache/src/api/list/v2.rs:187
↓ 1 callers
Function
decode_schema
Decode [`Schema`] from response data stream.
core/service_grpc_flight/src/keep_alive.rs:274
↓ 1 callers
Method
decr
Decrement the local value for this CumulativeRecorder
core/metric/src/cumulative.rs:77
↓ 1 callers
Function
deduplicate
( mut input_stream: SendableRecordBatchStream, sort_keys: LexOrdering, tx: mpsc::Sender<Result<Rec
core/iox_query/src/provider/deduplicate.rs:336
↓ 1 callers
Method
default_expiration
(&self)
influxdb3_py_api/src/cache.rs:144
↓ 1 callers
Method
definition_exists
Check if a [ColumnDefinition] exists in the repository by `id`, `name`, and (when present) `ord_id`. # Panics This panics if the `id` is in the name
influxdb3_catalog/src/catalog/versions/v2.rs:3049
↓ 1 callers
Method
definition_exists
Check if a [ColumnDefinition] exists in the repository by `id`, `column_id` and `name` # Panics This panics if the `id` is in the id-to-name map, bu
influxdb3_catalog/src/catalog/versions/v3/schema/column.rs:377
↓ 1 callers
Method
delete
(&self, location: &Path)
core/object_store_metrics/src/lib.rs:388
↓ 1 callers
Method
delete
Delete an object on object store, but also remove it from the cache.
influxdb3_cache/src/parquet_cache/mod.rs:814
↓ 1 callers
Function
delete_all_snapshots
Helper to delete all snapshot files from object store. Used to prove that checkpoint loading works independently of snapshots.
influxdb3_write/src/write_buffer/tests.rs:3045
↓ 1 callers
Method
delete_cache
Delete a cache from the provider This also cleans up the provider hierarchy, so if the delete leaves a branch for a given table or its parent databas
influxdb3_cache/src/distinct_cache/provider.rs:217
↓ 1 callers
Method
delete_cache
Delete a cache from the provider This will also clean up empty levels in the provider hierarchy, so if there are no more caches for a given table, th
influxdb3_cache/src/last_cache/provider.rs:241
↓ 1 callers
Method
delete_caches_for_db
Delete all caches for a given database
influxdb3_cache/src/distinct_cache/provider.rs:237
↓ 1 callers
Method
delete_caches_for_db
Delete all caches for database from the provider
influxdb3_cache/src/last_cache/provider.rs:273
↓ 1 callers
Method
delete_caches_for_db_and_table
Delete all caches for a given database and table
influxdb3_cache/src/distinct_cache/provider.rs:242
↓ 1 callers
Method
delete_caches_for_table
Delete all caches for table from the provider
influxdb3_cache/src/last_cache/provider.rs:279
↓ 1 callers
Method
delete_database
( &self, db_id: DbId, )
influxdb3_write/src/deleter/tests.rs:52
↓ 1 callers
Method
delete_database
(&self, req: Request)
influxdb3_server/src/http.rs:1926
↓ 1 callers
Method
delete_distinct_cache
( &self, db_name: &str, table_name: &str, cache_name: &str, )
influxdb3_catalog/src/catalog/versions/v2/update.rs:740
↓ 1 callers
Method
delete_distinct_cache
( &self, db_name: &str, table_name: &str, cache_name: &str, )
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:2175
↓ 1 callers
Method
delete_label
Delete a Label
core/influxdb2_client/src/api/label.rs:122
↓ 1 callers
Method
delete_login_identity_oauth
(&mut self, user_id: &UserId)
influxdb3_catalog/src/catalog/versions/v3/schema/user.rs:377
↓ 1 callers
Method
delete_login_identity_username_password
Delete the username/password login identity for a user
influxdb3_catalog/src/catalog/versions/v3/schema/user.rs:319
↓ 1 callers
Method
delete_processing_engine_trigger
(&self, req: Request)
influxdb3_server/src/http.rs:1667
↓ 1 callers
Method
delete_stream
( &'a self, locations: BoxStream<'a, Result<Path>>, )
core/object_store_metrics/src/lib.rs:403
↓ 1 callers
Method
delete_table
( &self, db_id: DbId, table_id: TableId, )
influxdb3_write/src/deleter/tests.rs:60
↓ 1 callers
Method
delete_table
(&self, req: Request)
influxdb3_server/src/http.rs:1974
↓ 1 callers
Method
delete_token
(&self, req: Request)
influxdb3_server/src/http.rs:2006
↓ 1 callers
Method
delete_token_by_id
(&mut self, token_id: &TokenId)
influxdb3_catalog/src/catalog/versions/v3/schema/tokens.rs:79
↓ 1 callers
Method
deref
(&self)
core/object_store_mock/src/lib.rs:92
↓ 1 callers
Function
derivative
Create an expression to represent the `DERIVATIVE` function.
core/iox_query_influxql/src/plan/udf.rs:367
↓ 1 callers
Function
derive_min_max_time
Derive min/max time from column statistics. # Panics This method panics if the [`IoxParquetMetaData`] structure does not contain valid metadata byte
core/parquet_file/src/metadata.rs:566
↓ 1 callers
Function
detect_dedup_requirement
Add flag to group to detect if they need de-duplication.
core/iox_query/src/physical_optimizer/dedup/split.rs:142
↓ 1 callers
Function
determine_field_family_mode
Determines the field family mode by analyzing the field columns in the table definition. # NOTE A table is expected to be [FieldFamilyMode::Aware].
influxdb3_catalog/src/catalog/migrations/v2.rs:279
↓ 1 callers
Method
determine_package_manager
Probe pip *inside* the built venv and pick the matching manager: `PipManager` if `python -m pip` works there, otherwise `DisabledManager`. pip lives
influxdb3_processing_engine/src/environment.rs:333
↓ 1 callers
Function
difference
Create an expression to represent the `DIFFERENCE` function.
core/iox_query_influxql/src/plan/udf.rs:147
↓ 1 callers
Method
disable_processing_engine_trigger
(&self, req: Request)
influxdb3_server/src/http.rs:1686
↓ 1 callers
Method
disable_processing_engine_trigger
( &self, db_name: &str, trigger_name: &str, )
influxdb3_catalog/src/catalog/versions/v2/update.rs:1182
↓ 1 callers
Function
disabled_package_manager_deprecation_warning
( package_manager: influxdb3_clap_blocks::plugins::PackageManager, source: Option<ValueSource>, )
influxdb3/src/lib.rs:395
↓ 1 callers
Method
discriminant
(&self)
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/ordered_set.rs:270
↓ 1 callers
Method
display_with_expr
used with both `Expr` and `PhysicalExpr`, normally to display this within `explain` queries
core/iox_query/src/exec/gapfill/mod.rs:111
↓ 1 callers
Method
distinct_cache_provider
(&self)
influxdb3_write/src/write_buffer/mod.rs:755
↓ 1 callers
Function
distinct_caches_schema
()
influxdb3_system_tables/src/distinct_caches.rs:25
↓ 1 callers
Function
distinct_counts
Takes batches of data and the columns that make up the primary key. Computes the number of distinct values for each primary key column across all batc
core/schema/src/sort.rs:338
↓ 1 callers
Function
distribute
Distribute items from the given iterator into `n` containers. This will produce less than `n` containers if the input has less than `n` elements. #
core/iox_query/src/provider/physical.rs:325
↓ 1 callers
Method
do_action
Handles the action specified in `msg` and returns bytes for the [`arrow_flight::Result`] (not the same as a rust [`Result`]!)
core/flightsql/src/planner.rs:254
↓ 1 callers
Method
do_get_with_info
Calls `DoGet` with the provded FlightInfo, which is normally retrieved by calling [`Self::get_flight_info_for_command`]. This method allows one to pro
core/influxdb_iox_client/src/client/flightsql.rs:410
↓ 1 callers
Method
do_put
Handles receiving the given `data` from the client based on the action specified by `cmd` and returns bytes for the [`arrow_flight::Result`] (not the
core/flightsql/src/planner.rs:300
↓ 1 callers
Method
do_put_with_cmd
Implements the DoPut method for sending a stream of FlightData to the server:
core/influxdb_iox_client/src/client/flightsql.rs:450
↓ 1 callers
Function
do_write
(wb: &dyn WriteBuffer, db: &str, lp: &str, time: Time)
influxdb3_write/src/lib.rs:910
↓ 1 callers
Function
do_writes_partial
( db: &'static str, buffer: &W, writes: &[TestWrite<LP>], )
influxdb3_write/src/write_buffer/tests.rs:2713
↓ 1 callers
Function
download
Download file to path.
core/iox_query_udf/build.rs:105
↓ 1 callers
Function
download_target_location
Get download location.
core/iox_query_udf/build.rs:143
↓ 1 callers
Method
drop_last
Drop the last buffer entry. This may cause spurious cache misses due to the short-circuiting search observing an empty element, potentially before no
core/partition/src/template/strftime.rs:62
↓ 1 callers
Method
drop_last_value
Remove the last wrote value. # Reference Leak This call removes the encoded value from the buffer. If this call removes the sole reference to a val
core/table_batch/src/builder/column_writer/dictionary.rs:72
↓ 1 callers
Function
drop_measurement
(i: &str)
core/influxdb_influxql_parser/src/drop.rs:38
↓ 1 callers
Function
drop_statement
(i: &str)
core/influxdb_influxql_parser/src/drop.rs:27
↓ 1 callers
Method
drop_trigger_cache
(&mut self, db_id: DbId, trigger_id: TriggerId)
influxdb3_py_api/src/cache.rs:222
↓ 1 callers
Method
dry_run_wal_plugin
dry_run_wal_plugin doesn't write data to the DB but it does perform real queries. If the plugin under test does other actions with side effects those
influxdb3_processing_engine/src/lib.rs:763
↓ 1 callers
Method
duration_seconds
(&self)
influxdb3_wal/src/lib.rs:183
↓ 1 callers
Function
dyn_error_to_object_store_error
Convert [`DynError`] to [`object_store::Error`].
core/object_store_mem_cache/src/object_store_helpers.rs:51
↓ 1 callers
Method
early_access_data
Extract the early access data if present. Returns None for WasCached states or when no early access data was provided. Returns Some(data) for Already
core/object_store_metrics/src/cache_state.rs:87
↓ 1 callers
Function
elapsed
Create an expression to represent the `ELAPSED` function.
core/iox_query_influxql/src/plan/udf.rs:196
↓ 1 callers
Method
emit
(&self)
core/object_store_metrics/src/log.rs:55
↓ 1 callers
Method
emit_batch
(&mut self, batch: jaeger::Batch)
core/trace_exporters/src/thrift/agent.rs:79
↓ 1 callers
Method
emit_line_protocol
( &self, query_log_write_client: &Arc<WriteClient>, state: &QueryLogEntryState,
core/iox_query/src/query_log.rs:735
↓ 1 callers
Method
enable_processing_engine_trigger
(&self, req: Request)
influxdb3_server/src/http.rs:1703
↓ 1 callers
Method
enable_processing_engine_trigger
( &self, db_name: &str, trigger_name: &str, )
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:2430
↓ 1 callers
Function
encode_arrow_schema
Encodes the Arrow schema into the IPC format, and base64 encodes it. This method is copied from a private method in the arrow-rs upstream code. (Refe
core/arrow_util/src/parquet_meta.rs:16
↓ 1 callers
Function
encode_column
(column_name: &str, column: &Column)
core/mutable_batch_pb/src/encode.rs:65
↓ 1 callers
Function
encode_partition_snapshot
(i: usize)
core/catalog_cache/benches/list_encode.rs:79
↓ 1 callers
Function
encode_precondition_failure
(violations: Vec<PreconditionViolation>)
core/generated_types/src/google.rs:542
↓ 1 callers
Function
encode_proto_predicate_as_base64
Encodes [`proto::Predicate`] as base64.
core/ingester_query_grpc/src/lib.rs:316
↓ 1 callers
Method
enforce_retention_for_table
Enforce retention for a specific table.
influxdb3_write/src/retention_period_handler.rs:87
↓ 1 callers
Method
ensure_total_permits
Ensure that this semaphore has at least this amount of permits in total. If the semaphore size was changed the delta will be returned.
core/tracker/src/async_semaphore.rs:200
↓ 1 callers
Function
entries_in_use_error_to_tonic_code
(_e: &EntriesInUseError)
core/service_common/src/error.rs:200
↓ 1 callers
Method
env_vars
(&self)
influxdb3/tests/server/mod.rs:415
↓ 1 callers
Function
eq_partitioned_files
Returns true if the [`PartitionedFile`]s are equal, excluding consideration of ranges.
core/iox_query/src/physical_optimizer/sort/regroup_files.rs:257
↓ 1 callers
Method
equals_last
Returns true if the output of rendering `timestamp` will match the last rendered timestamp, after optionally applying the precision reduction optimisa
core/partition/src/template/strftime.rs:260
↓ 1 callers
Function
error_behavior_name
(error_behavior: influxdb3_catalog::catalog::ErrorBehavior)
influxdb3_system_tables/src/python_call.rs:38
↓ 1 callers
Function
escape_or_fallback_inner
( mut normal: impl Parser<&'a str, Output = &'a str, Error = Error>, escape_char: &'static str, mu
core/influxdb_line_protocol/src/lib.rs:995
↓ 1 callers
Method
eval_binary_expr_type
(&self, expr: &Binary)
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:79
↓ 1 callers
Method
eval_call
Evaluate the datatype of the function identified by `name`. Derived from [Go implementation](https://github.com/influxdata/influxql/blob/1ba470371ec0
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:175
↓ 1 callers
Method
eval_scalar
Evaluate the data type of a scalar function See: <https://github.com/influxdata/influxdb/blob/343ce4223810ecdbc7f4de68f2509a51b28f2c56/query/math.go#
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:272
↓ 1 callers
Method
eval_scalar_compatible
( &self, arg_types: &[Option<VarRefDataType>], )
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:284
↓ 1 callers
Method
eval_scalar_strict
( &self, name: &str, arg_types: &[Option<VarRefDataType>], )
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:291
↓ 1 callers
Function
eval_with_key_clause
Evaluate [`WithKeyClause`] on the given list of keys. This may fail if the clause contains an invalid regex.
core/iox_query_influxql/src/plan/planner.rs:4388
↓ 1 callers
Method
evaluate_predicate
Evaluate a predicate against a [`Node`], producing a list of [`Value`]s and, if this is a branch node in the cache tree, a reference to the next [`Nod
influxdb3_cache/src/distinct_cache/cache.rs:447
↓ 1 callers
Method
evaluate_predicate
Evaluate the provided [`Predicate`] by using its value to lookup in this [`LastCacheKey`]'s value map.
influxdb3_cache/src/last_cache/cache.rs:607
↓ 1 callers
Method
evaluate_predicates
Evaluate the set of provided predicates against this node, adding values to the provided [`StringViewBuilder`]s. Predicates and builders are provided
influxdb3_cache/src/distinct_cache/cache.rs:362
↓ 1 callers
Method
evict
(&self, _gen: u64, _k: &Arc<K>, res: EvictResult)
core/object_store_mem_cache/src/cache_system/hook/level_trigger.rs:51
↓ 1 callers
Method
evict
(&self, generation: u64, k: &Arc<K>, res: EvictResult)
core/object_store_mem_cache/src/cache_system/hook/test_utils.rs:117
↓ 1 callers
Method
evict_cache_entries
Run eviction across all caches in the provider.
influxdb3_cache/src/distinct_cache/provider.rs:286
↓ 1 callers
Method
evict_expired_cache_entries
Recurse down the cache structure to evict expired cache entries, based on their respective time-to-live (TTL).
influxdb3_cache/src/last_cache/provider.rs:331
↓ 1 callers
Method
evict_from_main_queue
Evict at most one entry from the "main" queue. This scans through the "main" queue and for every entry it either: - **move to to back:** If the entr
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/s3_fifo.rs:921
↓ 1 callers
Method
evict_from_small_queue
Evict at most one entry from the "small" queue. This scans through the "small" queue and for every entry it either: - **move to "main" queue:** If t
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/s3_fifo.rs:870
↓ 1 callers
Method
exec
(&self)
core/object_store_mem_cache/src/cache_system/reactor/reaction.rs:22
↓ 1 callers
Method
execute
( &self, partition: usize, context: Arc<TaskContext>, )
core/iox_query/src/exec/sleep.rs:240
↓ 1 callers
Method
execute
Stream split has multiple partitions from 0 to n Each partition i includes rows for which `split_exprs[i]` evaluate to true # Deadlock This will dea
core/iox_query/src/exec/split.rs:271
← previous
next →
3,501–3,600 of 11,906, ranked by callers