MCPcopy Create free account

hub / github.com/influxdata/influxdb / functions

Functions11,906 in github.com/influxdata/influxdb

↓ 1 callersFunctionsetup_database
Helper: create a database.
influxdb3_catalog/src/format/records/retention/tests.rs:18
↓ 1 callersFunctionsetup_db_and_table
Helper: create a database + empty table.
influxdb3_catalog/src/enterprise/format/records/retention/tests.rs:21
↓ 1 callersFunctionsetup_plugin_trigger_invocation_registry
()
influxdb3/src/commands/serve.rs:1530
↓ 1 callersFunctionsetup_plugin_trigger_invocation_telemetry
( registry: Arc<PluginTriggerInvocationRegistry>, )
influxdb3/src/commands/serve.rs:1534
↓ 1 callersFunctionsetup_processing_engine_env_manager
( config: &ProcessingEngineConfig, )
influxdb3/src/commands/serve.rs:1442
↓ 1 callersFunctionsetup_python_env_metrics
( environment: &ProcessingEngineEnvironmentManager, )
influxdb3/src/commands/serve.rs:1499
↓ 1 callersMethodsetup_system
Setup the `system` stats file along with its path
influxdb3_load_generator/src/commands/common.rs:219
↓ 1 callersFunctionsetup_telemetry_store
( TelemetryStoreSetupArgs { object_store_config, instance_id, num_cpus, pe
influxdb3/src/commands/serve.rs:1620
↓ 1 callersFunctionsetup_with_metrics
( start: Time, object_store: Arc<dyn ObjectStore>, wal_config: WalConfig, )
influxdb3_write/src/write_buffer/tests.rs:2785
↓ 1 callersFunctionsetup_with_metrics_and_parquet_cache
( start: Time, object_store: Arc<dyn ObjectStore>, wal_config: WalConfig, )
influxdb3_write/src/write_buffer/tests.rs:2795
↓ 1 callersMethodshard
(&self, table: &str, namespace: &NamespaceName<'_>, payload: &P)
core/sharder/src/trait.rs:31
↓ 1 callersMethodshard_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 callersMethodshard_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 callersMethodshould_generate_admin_token
(&self)
influxdb3/tests/server/mod.rs:407
↓ 1 callersMethodshould_persist_checkpoint
Check if a checkpoint should be persisted based on elapsed time.
influxdb3_write/src/persister.rs:394
↓ 1 callersMethodshould_run_cleanup
(&self)
influxdb3_py_api/src/cache.rs:164
↓ 1 callersMethodshould_run_snapshot
(&mut self, force_snapshot: bool)
influxdb3_wal/src/snapshot_tracker.rs:93
↓ 1 callersMethodshould_update_schema_from_row
(&self, row: &Row)
influxdb3_cache/src/last_cache/cache.rs:253
↓ 1 callersMethodshow_databases
( &self, database_names: Vec<String>, )
core/iox_query_influxql/src/show_databases.rs:79
↓ 1 callersMethodshow_databases
Produce a record batch stream containing the results for the `SHOW DATABASES` query
influxdb3_internal_api/src/query_executor.rs:118
↓ 1 callersMethodshow_field_keys_to_plan
( &self, show_field_keys: ShowFieldKeysStatement, )
core/iox_query_influxql/src/plan/planner.rs:3738
↓ 1 callersMethodshow_measurements_to_plan
( &self, show_measurements: ShowMeasurementsStatement, )
core/iox_query_influxql/src/plan/planner.rs:3960
↓ 1 callersFunctionshow_retention_policies
Show retention policies for databases. This queries system.databases to show database-level retention periods.
influxdb3/src/commands/show.rs:229
↓ 1 callersMethodshow_retention_policies
( &self, db_name: String, )
core/iox_query_influxql/src/show_retention_policies.rs:154
↓ 1 callersMethodshow_retention_policies
( &self, database: Option<&str>, _span_ctx: Option<SpanContext>, )
influxdb3_query_executor/src/lib.rs:247
↓ 1 callersMethodshow_retention_policies
( &self, db_name: String, )
influxdb3_internal_api/src/query_executor.rs:183
↓ 1 callersMethodshow_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 callersMethodshow_tag_keys_to_plan
(&self, show_tag_keys: ShowTagKeysStatement)
core/iox_query_influxql/src/plan/planner.rs:3563
↓ 1 callersMethodshow_tag_values_to_plan
( &self, show_tag_values: ShowTagValuesStatement, )
core/iox_query_influxql/src/plan/planner.rs:3828
↓ 1 callersMethodsignature
(&self)
core/query_functions/src/gapfill.rs:141
↓ 1 callersMethodsigned_url
( &self, _method: http::Method, path: &Path, _expires_in: Duration, )
influxdb3_clap_blocks/src/object_store.rs:1533
↓ 1 callersFunctionsimple_filter_plan
(pred: Expr, inline_filter: bool)
core/iox_query/src/analyzer/handle_gapfill/range_predicate.rs:277
↓ 1 callersMethodsize
(&self)
influxdb3_write/src/write_buffer/table_buffer.rs:626
↓ 1 callersMethodsize
(&self)
core/object_store_mem_cache/src/store.rs:38
↓ 1 callersMethodsize
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 callersMethodsize
Memory size in bytes including `self`
core/schema/src/sort.rs:257
↓ 1 callersMethodsize_columns
Get size of `self.columns` EXCLUDING the type itself (i.e. `size_of_val(&self.columns)`).
core/schema/src/sort.rs:224
↓ 1 callersMethodslice_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 callersMethodsnapshot
( &mut self, table_def: Arc<TableDefinition>, older_than_chunk_time: i64, )
influxdb3_write/src/write_buffer/table_buffer.rs:163
↓ 1 callersMethodsnapshot
(&self)
influxdb3_processing_engine/src/plugin_telemetry.rs:87
↓ 1 callersMethodsnapshot_all
(&mut self)
influxdb3_wal/src/snapshot_tracker.rs:150
↓ 1 callersMethodsnapshot_in_order_wal_periods
(&mut self)
influxdb3_wal/src/snapshot_tracker.rs:112
↓ 1 callersMethodsnapshot_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 callersMethodsort_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 callersMethodsort_columns
Combination of all columns within the sort key and potentially the chunk order column.
core/iox_query/src/provider/deduplicate.rs:155
↓ 1 callersFunctionsort_dedupe_persist
( persist_job: PersistJob, persister: Arc<Persister>, executor: Arc<Executor>, parquet_cache:
influxdb3_write/src/write_buffer/queryable_buffer.rs:567
↓ 1 callersFunctionsort_groups
Sort groups in some order that we think is nice.
core/iox_query/src/physical_optimizer/dedup/split.rs:157
↓ 1 callersFunctionsort_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 callersFunctionsort_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 callersMethodsort_options
(&self, len: usize)
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:548
↓ 1 callersFunctionsort_order_not_on_column
()
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs_for_constants.rs:1000
↓ 1 callersMethodsort_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 callersFunctionsorted_unique_package_names
(mut package_names: Vec<String>)
influxdb3_processing_engine/src/environment.rs:107
↓ 1 callersMethodsource
(&self)
influxdb3_server/src/http.rs:121
↓ 1 callersMethodsource
(&self)
core/object_store_mem_cache/src/cache_system/utils.rs:163
↓ 1 callersMethodspan
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 callersMethodspan_ctx
(&self)
core/iox_query/src/exec/context.rs:755
↓ 1 callersMethodspawn_background_updates
(&self)
influxdb3_clap_blocks/src/object_store.rs:1286
↓ 1 callersFunctionsplit_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 callersFunctionsplit_batch
Split the RecordBatch into RecordBatches of sizes start_size, start_size + 1, ...,
core/iox_query/src/provider/deduplicate.rs:1708
↓ 1 callersFunctionsplit_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 callersFunctionsplit_database_name
(db_name: &str)
influxdb3_query_executor/src/lib.rs:457
↓ 1 callersMethodsplit_exprs
(&self)
core/iox_query/src/exec/split.rs:106
↓ 1 callersFunctionsplit_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 callersFunctionsplit_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 callersMethodspread
(&self)
core/iox_query_influxql/src/aggregate/spread.rs:130
↓ 1 callersMethodsql_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 callersMethodsql_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 callersMethodstale_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 callersMethodstart_countdown
(&self)
core/authz/src/iox_authorizer.rs:320
↓ 1 callersMethodstart_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 callersFunctionstart_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 callersMethodstart_new_series
(&mut self)
core/iox_query/src/exec/gapfill/algo.rs:634
↓ 1 callersFunctionstartup
(args: Vec<String>)
influxdb3/src/lib.rs:165
↓ 1 callersMethodstash
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 callersMethodstate
(&mut self)
core/query_functions/src/selectors/internal.rs:270
↓ 1 callersMethodstate_datatypes
Return the state in which the arguments are stored
core/query_functions/src/selectors/type_handling.rs:124
↓ 1 callersMethodstatement_to_plan_with_params
( &self, mut statement: Statement, params: StatementParams, )
core/iox_query_influxql/src/plan/planner.rs:755
↓ 1 callersMethodstatistics
(&self)
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/mod.rs:388
↓ 1 callersFunctionstopped_node
(id: u32, name: &str, stopped_time_ns: i64)
influxdb3_catalog/src/catalog/migrations/v3/tests.rs:93
↓ 1 callersFunctionstore_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 callersMethodstring_size
Returns the bytes associated by storing min/max string values
core/data_types/src/lib.rs:2146
↓ 1 callersFunctionstrip_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 callersFunctionstrip_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 callersFunctionstruct_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 callersMethodsubquery
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 callersMethodsubquery_to_plan
(&self, ctx: &Context<'_>, select: &Select)
core/iox_query_influxql/src/plan/planner.rs:956
↓ 1 callersMethodsubscribe
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 callersMethodsubscribe
(&self, name: &'static str)
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1491
↓ 1 callersMethodsummarize_all_tables
(&self, limit: u16, format: Format)
influxdb3/src/commands/show/system.rs:277
↓ 1 callersMethodsummarize_table
(&self, table_name: &str, limit: u16, format: Format)
influxdb3/src/commands/show/system.rs:286
↓ 1 callersMethodsummary
(&self, config: SummaryConfig)
influxdb3/src/commands/show/system.rs:271
↓ 1 callersMethodsummary
Branch to summary subcommand
influxdb3/tests/cli/api.rs:1292
↓ 1 callersFunctionswap_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 callersFunctionsynthesize_distinct_cache
(cache: &DistinctCacheSnapshot, db_id: u32, batch: &mut RecordBatch)
influxdb3_catalog/src/catalog/migrations/v3.rs:548
↓ 1 callersFunctionsynthesize_last_cache
(cache: &LastCacheSnapshot, db_id: u32, batch: &mut RecordBatch)
influxdb3_catalog/src/catalog/migrations/v3.rs:482
↓ 1 callersFunctionsynthesize_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 callersFunctionsynthesize_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 callersMethodtable
(&self, name: &str)
core/iox_query/src/test.rs:334
↓ 1 callersMethodtable_count
(&self)
influxdb3_catalog/src/catalog/versions/v2.rs:1613
← previousnext →4,601–4,700 of 11,906, ranked by callers