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
setup_database
Helper: create a database.
influxdb3_catalog/src/format/records/retention/tests.rs:18
↓ 1 callers
Function
setup_db_and_table
Helper: create a database + empty table.
influxdb3_catalog/src/enterprise/format/records/retention/tests.rs:21
↓ 1 callers
Function
setup_plugin_trigger_invocation_registry
()
influxdb3/src/commands/serve.rs:1530
↓ 1 callers
Function
setup_plugin_trigger_invocation_telemetry
( registry: Arc<PluginTriggerInvocationRegistry>, )
influxdb3/src/commands/serve.rs:1534
↓ 1 callers
Function
setup_processing_engine_env_manager
( config: &ProcessingEngineConfig, )
influxdb3/src/commands/serve.rs:1442
↓ 1 callers
Function
setup_python_env_metrics
( environment: &ProcessingEngineEnvironmentManager, )
influxdb3/src/commands/serve.rs:1499
↓ 1 callers
Method
setup_system
Setup the `system` stats file along with its path
influxdb3_load_generator/src/commands/common.rs:219
↓ 1 callers
Function
setup_telemetry_store
( TelemetryStoreSetupArgs { object_store_config, instance_id, num_cpus, pe
influxdb3/src/commands/serve.rs:1620
↓ 1 callers
Function
setup_with_metrics
( start: Time, object_store: Arc<dyn ObjectStore>, wal_config: WalConfig, )
influxdb3_write/src/write_buffer/tests.rs:2785
↓ 1 callers
Function
setup_with_metrics_and_parquet_cache
( start: Time, object_store: Arc<dyn ObjectStore>, wal_config: WalConfig, )
influxdb3_write/src/write_buffer/tests.rs:2795
↓ 1 callers
Method
shard
(&self, table: &str, namespace: &NamespaceName<'_>, payload: &P)
core/sharder/src/trait.rs:31
↓ 1 callers
Method
shard_for_query
Consistently hash a table and namespace to a `T`. For use in a situation where you don't have a payload.
core/sharder/src/jumphash.rs:109
↓ 1 callers
Method
shard_group_time_range
Calculate the time range that would have been stored in the shard group created when the query was prepared in InfluxQL OG ([source][1]). ```go // Mo
core/iox_query_influxql/src/plan/planner.rs:310
↓ 1 callers
Method
should_generate_admin_token
(&self)
influxdb3/tests/server/mod.rs:407
↓ 1 callers
Method
should_persist_checkpoint
Check if a checkpoint should be persisted based on elapsed time.
influxdb3_write/src/persister.rs:394
↓ 1 callers
Method
should_run_cleanup
(&self)
influxdb3_py_api/src/cache.rs:164
↓ 1 callers
Method
should_run_snapshot
(&mut self, force_snapshot: bool)
influxdb3_wal/src/snapshot_tracker.rs:93
↓ 1 callers
Method
should_update_schema_from_row
(&self, row: &Row)
influxdb3_cache/src/last_cache/cache.rs:253
↓ 1 callers
Method
show_databases
( &self, database_names: Vec<String>, )
core/iox_query_influxql/src/show_databases.rs:79
↓ 1 callers
Method
show_databases
Produce a record batch stream containing the results for the `SHOW DATABASES` query
influxdb3_internal_api/src/query_executor.rs:118
↓ 1 callers
Method
show_field_keys_to_plan
( &self, show_field_keys: ShowFieldKeysStatement, )
core/iox_query_influxql/src/plan/planner.rs:3738
↓ 1 callers
Method
show_measurements_to_plan
( &self, show_measurements: ShowMeasurementsStatement, )
core/iox_query_influxql/src/plan/planner.rs:3960
↓ 1 callers
Function
show_retention_policies
Show retention policies for databases. This queries system.databases to show database-level retention periods.
influxdb3/src/commands/show.rs:229
↓ 1 callers
Method
show_retention_policies
( &self, db_name: String, )
core/iox_query_influxql/src/show_retention_policies.rs:154
↓ 1 callers
Method
show_retention_policies
( &self, database: Option<&str>, _span_ctx: Option<SpanContext>, )
influxdb3_query_executor/src/lib.rs:247
↓ 1 callers
Method
show_retention_policies
( &self, db_name: String, )
influxdb3_internal_api/src/query_executor.rs:183
↓ 1 callers
Method
show_retention_policies_to_plan
A limited implementation of SHOW RETENTION POLICIES that assumes any database has a single, default, retention policy.
core/iox_query_influxql/src/plan/planner.rs:4078
↓ 1 callers
Method
show_tag_keys_to_plan
(&self, show_tag_keys: ShowTagKeysStatement)
core/iox_query_influxql/src/plan/planner.rs:3563
↓ 1 callers
Method
show_tag_values_to_plan
( &self, show_tag_values: ShowTagValuesStatement, )
core/iox_query_influxql/src/plan/planner.rs:3828
↓ 1 callers
Method
signature
(&self)
core/query_functions/src/gapfill.rs:141
↓ 1 callers
Method
signed_url
( &self, _method: http::Method, path: &Path, _expires_in: Duration, )
influxdb3_clap_blocks/src/object_store.rs:1533
↓ 1 callers
Function
simple_filter_plan
(pred: Expr, inline_filter: bool)
core/iox_query/src/analyzer/handle_gapfill/range_predicate.rs:277
↓ 1 callers
Method
size
(&self)
influxdb3_write/src/write_buffer/table_buffer.rs:626
↓ 1 callers
Method
size
(&self)
core/object_store_mem_cache/src/store.rs:38
↓ 1 callers
Method
size
Return the approximate memory size of the chunk, in bytes including the dictionary, tables, and their rows.
core/parquet_file/src/chunk.rs:53
↓ 1 callers
Method
size
Memory size in bytes including `self`
core/schema/src/sort.rs:257
↓ 1 callers
Method
size_columns
Get size of `self.columns` EXCLUDING the type itself (i.e. `size_of_val(&self.columns)`).
core/schema/src/sort.rs:224
↓ 1 callers
Method
slice_input_batch
Slice the input batch so that it has one context row before the next input offset.
core/iox_query/src/exec/gapfill/algo.rs:151
↓ 1 callers
Method
snapshot
( &mut self, table_def: Arc<TableDefinition>, older_than_chunk_time: i64, )
influxdb3_write/src/write_buffer/table_buffer.rs:163
↓ 1 callers
Method
snapshot
(&self)
influxdb3_processing_engine/src/plugin_telemetry.rs:87
↓ 1 callers
Method
snapshot_all
(&mut self)
influxdb3_wal/src/snapshot_tracker.rs:150
↓ 1 callers
Method
snapshot_in_order_wal_periods
(&mut self)
influxdb3_wal/src/snapshot_tracker.rs:112
↓ 1 callers
Method
snapshot_sequence
The snapshot's catalog sequence number (read from its 64-byte header via a ranged GET), or `None` if no snapshot exists.
influxdb3_commands/src/debug/catalog/mod.rs:150
↓ 1 callers
Method
sort_column_iter
Iterator of all of the columns in the sort key and potentially the chunk order column.
core/iox_query/src/provider/deduplicate.rs:175
↓ 1 callers
Method
sort_columns
Combination of all columns within the sort key and potentially the chunk order column.
core/iox_query/src/provider/deduplicate.rs:155
↓ 1 callers
Function
sort_dedupe_persist
( persist_job: PersistJob, persister: Arc<Persister>, executor: Arc<Executor>, parquet_cache:
influxdb3_write/src/write_buffer/queryable_buffer.rs:567
↓ 1 callers
Function
sort_groups
Sort groups in some order that we think is nice.
core/iox_query/src/physical_optimizer/dedup/split.rs:157
↓ 1 callers
Function
sort_key_from_cardinalities
Given columns and their cardinalities (the number of distinct values in the data), sort the columns by cardinality and turn that ordering into a [`Sor
core/schema/src/sort.rs:322
↓ 1 callers
Function
sort_lines
Sorts the lines (assumed to be the output of `batches_to_lines` for stable comparison)
core/arrow_util/src/test_util.rs:101
↓ 1 callers
Method
sort_options
(&self, len: usize)
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:548
↓ 1 callers
Function
sort_order_not_on_column
()
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs_for_constants.rs:1000
↓ 1 callers
Method
sort_with_preserve_partitioning_setting
Sort the output of this plan with the specified expressions &
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs:2389
↓ 1 callers
Function
sorted_unique_package_names
(mut package_names: Vec<String>)
influxdb3_processing_engine/src/environment.rs:107
↓ 1 callers
Method
source
(&self)
influxdb3_server/src/http.rs:121
↓ 1 callers
Method
source
(&self)
core/object_store_mem_cache/src/cache_system/utils.rs:163
↓ 1 callers
Method
span
Return a reference to the span contained in this SpanRecorder, or None if there is no active span
core/trace/src/span.rs:351
↓ 1 callers
Method
span_ctx
(&self)
core/iox_query/src/exec/context.rs:755
↓ 1 callers
Method
spawn_background_updates
(&self)
influxdb3_clap_blocks/src/object_store.rs:1286
↓ 1 callers
Function
split_and_regroup_parquet_files
This function is to split all files in the same ParquetSource into different groups/DF partitions and set the `preserve_partitioning` so they will be
core/iox_query/src/physical_optimizer/sort/regroup_files.rs:30
↓ 1 callers
Function
split_batch
Split the RecordBatch into RecordBatches of sizes start_size, start_size + 1, ...,
core/iox_query/src/provider/deduplicate.rs:1708
↓ 1 callers
Function
split_by_partition
Split group into sub-groups based on partition. That works because we know that -- by design -- partitions have disjunct primary key spaces.
core/iox_query/src/physical_optimizer/dedup/split.rs:122
↓ 1 callers
Function
split_database_name
(db_name: &str)
influxdb3_query_executor/src/lib.rs:457
↓ 1 callers
Method
split_exprs
(&self)
core/iox_query/src/exec/split.rs:106
↓ 1 callers
Function
split_lp
splits input line protocol into one or more sizes of at most `max_chunk` on line breaks in a separte tokio task
core/influxdb_iox_client/src/client/write.rs:274
↓ 1 callers
Function
split_the_stream
This function does the actual splitting: evaluates `split_exprs` on each input [`RecordBatch`], and then sends the rows to the correct output `tx[i]`
core/iox_query/src/exec/split.rs:374
↓ 1 callers
Method
spread
(&self)
core/iox_query_influxql/src/aggregate/spread.rs:130
↓ 1 callers
Method
sql_logical_plan
Logically plan a SQL query against the data in a namespace, and return a DataFusion logical plan.
core/service_grpc_flight/src/planner.rs:45
↓ 1 callers
Method
sql_physical_plan
Physically plan a SQL query against the data in a namespace, and return a DataFusion physical execution plan.
core/service_grpc_flight/src/planner.rs:58
↓ 1 callers
Method
stale_duration_ns
Returns the length of time (ms) that this entry has been in the cache without being accessed. We return this value to make code using this method les
influxdb3_write/src/table_index_cache.rs:174
↓ 1 callers
Method
start_countdown
(&self)
core/authz/src/iox_authorizer.rs:320
↓ 1 callers
Method
start_if_needed
if in State::New, sets up the output running and sets self.state --> `Running`
core/iox_query/src/exec/split.rs:318
↓ 1 callers
Function
start_logging
Enables debug logging regardless of the value of RUST_LOG environment variable. If RUST_LOG isn't specifies, defaults to "debug" Hint: Try running yo
core/test_helpers/src/lib.rs:79
↓ 1 callers
Method
start_new_series
(&mut self)
core/iox_query/src/exec/gapfill/algo.rs:634
↓ 1 callers
Function
startup
(args: Vec<String>)
influxdb3/src/lib.rs:165
↓ 1 callers
Method
stash
Return the stashed previous value used to fill gaps. # Panics This method will panic if `self` is not [AggrColState::PrevNullAsMissingStashed].
core/iox_query/src/exec/gapfill/algo.rs:880
↓ 1 callers
Method
state
(&mut self)
core/query_functions/src/selectors/internal.rs:270
↓ 1 callers
Method
state_datatypes
Return the state in which the arguments are stored
core/query_functions/src/selectors/type_handling.rs:124
↓ 1 callers
Method
statement_to_plan_with_params
( &self, mut statement: Statement, params: StatementParams, )
core/iox_query_influxql/src/plan/planner.rs:755
↓ 1 callers
Method
statistics
(&self)
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/mod.rs:388
↓ 1 callers
Function
stopped_node
(id: u32, name: &str, stopped_time_ns: i64)
influxdb3_catalog/src/catalog/migrations/v3/tests.rs:93
↓ 1 callers
Function
store_with_snapshot_and_surrounding_logs
Store with a snapshot at sequence 5, a pre-snapshot log (seq 3), and a post-snapshot log (seq 7).
influxdb3_commands/src/debug/catalog/tests.rs:56
↓ 1 callers
Method
string_size
Returns the bytes associated by storing min/max string values
core/data_types/src/lib.rs:2146
↓ 1 callers
Function
strip_influxql_metadata_from_plan
Strip `influxql::filled` metadata from all schemas in the logical plan tree. This is used before physical planning to remove InfluxQL-specific metada
core/iox_query_influxql/src/plan/planner/metadata.rs:175
↓ 1 callers
Function
strip_influxql_metadata_from_schema
Strip `influxql::filled` metadata from all fields in a schema. This is used before physical planning to remove InfluxQL-specific metadata that was us
core/iox_query_influxql/src/plan/planner/metadata.rs:126
↓ 1 callers
Function
struct_field_other
Name of the output struct field that holds other values that just point to the selected row but for which we do NOT evaluate first/last/min/max.
core/query_functions/src/selectors/type_handling.rs:18
↓ 1 callers
Method
subquery
Create a new context for the select statement that is a subquery of the current context.
core/iox_query_influxql/src/plan/planner.rs:249
↓ 1 callers
Method
subquery_to_plan
(&self, ctx: &Context<'_>, select: &Select)
core/iox_query_influxql/src/plan/planner.rs:956
↓ 1 callers
Method
subscribe
Subscribe to the catalog for updates. This allows components in the system to listen for updates made to the catalog and handle/apply them as needed.
influxdb3_catalog/src/channel/versions/v2.rs:163
↓ 1 callers
Method
subscribe
(&self, name: &'static str)
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1491
↓ 1 callers
Method
summarize_all_tables
(&self, limit: u16, format: Format)
influxdb3/src/commands/show/system.rs:277
↓ 1 callers
Method
summarize_table
(&self, table_name: &str, limit: u16, format: Format)
influxdb3/src/commands/show/system.rs:286
↓ 1 callers
Method
summary
(&self, config: SummaryConfig)
influxdb3/src/commands/show/system.rs:271
↓ 1 callers
Method
summary
Branch to summary subcommand
influxdb3/tests/cli/api.rs:1292
↓ 1 callers
Function
swap_spm_for_progeval
Handles 2 scenarios: (1) when the regrouping & reordering of the `DataSourceExec` is sufficient to use ProgressiveEval (2) when the reordering of the
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs:146
↓ 1 callers
Function
synthesize_distinct_cache
(cache: &DistinctCacheSnapshot, db_id: u32, batch: &mut RecordBatch)
influxdb3_catalog/src/catalog/migrations/v3.rs:548
↓ 1 callers
Function
synthesize_last_cache
(cache: &LastCacheSnapshot, db_id: u32, batch: &mut RecordBatch)
influxdb3_catalog/src/catalog/migrations/v3.rs:482
↓ 1 callers
Function
synthesize_table
NOTE(tjh): A table references its parent database by id, but `TableSnapshot` doesn't store one — the id comes from the caller. `database_name` is also
influxdb3_catalog/src/catalog/migrations/v3.rs:344
↓ 1 callers
Function
synthesize_trigger
NOTE(tjh): A processing-engine trigger references its parent database by id, but `ProcessingEngineTriggerSnapshot` only stores the database's name — `
influxdb3_catalog/src/catalog/migrations/v3.rs:568
↓ 1 callers
Method
table
(&self, name: &str)
core/iox_query/src/test.rs:334
↓ 1 callers
Method
table_count
(&self)
influxdb3_catalog/src/catalog/versions/v2.rs:1613
← previous
next →
4,601–4,700 of 11,906, ranked by callers