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
↓ 3 callers
Function
sort_exec
( sort_exprs: &LexOrdering, input: &Arc<dyn ExecutionPlan>, preserve_partitioning: boo
core/iox_query/src/test.rs:1466
↓ 3 callers
Function
sort_expr
Get the sort order defined for these tests.
core/iox_query/src/physical_optimizer/predicate_pushdown.rs:483
↓ 3 callers
Function
sort_key
()
core/iox_query/src/physical_optimizer/chunk_extraction.rs:405
↓ 3 callers
Method
sort_keys
(&self)
core/iox_query/src/provider/deduplicate.rs:150
↓ 3 callers
Method
sort_with_preserve_partitioning
Sort the output of this plan with the specified expressions
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs:2381
↓ 3 callers
Method
space_left
How much space is left. This is identical to the length of the [`tail`](Self::tail), but does not require a mutable reference to obtain.
core/linear_buffer/src/linear_buffer.rs:109
↓ 3 callers
Method
span
Returns the current [`Span`] if any
core/iox_query/src/exec/context.rs:724
↓ 3 callers
Function
split_cond
Traverse `expr` and separate time range expressions from other predicates. # NOTE Combining relational operators like `time > now() - 5s` and equali
core/influxdb_influxql_parser/src/time_range.rs:178
↓ 3 callers
Function
split_lines
Split `input` into individual lines to be parsed, based on the rules of the line protocol format. This code is more or less a direct port of the [Go
core/influxdb_line_protocol/src/lib.rs:613
↓ 3 callers
Function
split_soft_deleted_name
Split a v2 soft-deleted resource name into its original name and the deletion timestamp encoded in the suffix. Soft-deleted database/tables are renam
influxdb3_catalog/src/catalog/migrations/v3.rs:602
↓ 3 callers
Function
split_trace_id
Split [`TraceId`] into high and low part.
core/trace_exporters/src/jaeger/span.rs:9
↓ 3 callers
Method
sql_to_logical_plan_with_params
Plan a SQL statement, providing a list of parameter values to supply to `$placeholder` variables. This assumes that any tables referenced in the SQL h
core/iox_query/src/exec/context.rs:551
↓ 3 callers
Method
sql_to_physical_plan
Plan a SQL statement and convert it to an execution plan. This assumes that any tables referenced in the SQL have been registered with this context
core/iox_query/src/exec/context.rs:571
↓ 3 callers
Method
start
Return the timestamp inclusive range's start.
core/data_types/src/lib.rs:2324
↓ 3 callers
Method
statement_to_plan
(&self, statement: Statement)
core/iox_query_influxql/src/plan/planner.rs:727
↓ 3 callers
Method
stop
Opt this receiver out of future broadcasts without closing the channel. Use during orderly shutdown to avoid broadcast errors from races with channel
influxdb3_catalog/src/catalog/versions/v3/events.rs:334
↓ 3 callers
Method
stop_node
Administratively stop a node. Records `Uuid::nil()` as the stopping process UUID to distinguish operator-driven stops from graceful-shutdown stops.
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1576
↓ 3 callers
Function
store
()
influxdb3_py_api/src/cache/tests.rs:4
↓ 3 callers
Function
stream_bytes_to_response_body
Responding with a stream of bytes, wrapping each frame in `Ok`. If you have a stream of `Result`s of `Bytes`, see [`stream_results_to_response_body`]
core/iox_http_util/src/lib.rs:95
↓ 3 callers
Method
system_reporter
Get a [`SystemStatsReporter`] along with the path of the file it is generating as a `String`
influxdb3_load_generator/src/commands/common.rs:282
↓ 3 callers
Function
table
Build a `comfy-table` from headers and string rows.
influxdb3_commands/src/debug/catalog/render.rs:19
↓ 3 callers
Method
table
Branch to table subcommand
influxdb3/tests/cli/api.rs:1281
↓ 3 callers
Method
table_deletion_status
Deletion status of a table by ID within a database, or `None` if it exists and is not deleted.
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1461
↓ 3 callers
Method
table_id
(&self)
influxdb3_catalog/src/catalog/versions/v3/transaction.rs:411
↓ 3 callers
Function
table_index
( node_id: &str, db_id: DbId, table_id: TableId, files: BTreeSet<ParquetFile>, latest_snap
influxdb3_write/src/table_index/test_table_index_operations.rs:161
↓ 3 callers
Function
table_schema
()
influxdb3_system_tables/src/nodes.rs:45
↓ 3 callers
Method
table_transaction
Get a mutable reference to a [TableTransaction] for the given table name. If no table transaction exists and the table exists in the current `databas
influxdb3_catalog/src/catalog/versions/v2/update.rs:1883
↓ 3 callers
Method
table_tx_or_create
(&mut self, table_name: &str)
influxdb3_catalog/src/catalog/versions/v2/update.rs:1916
↓ 3 callers
Method
tag_time_columns
Returns a tag column and a time column using the same algorithm as `tag_column` (so tag and time have the same values)
core/iox_query/benches/deduplicate.rs:136
↓ 3 callers
Method
take_log_lines
Take and return accumulated log lines. Returns an empty Vec for production loggers. Returns and clears the accumulated log lines for dry run loggers.
influxdb3_py_api/src/logging.rs:170
↓ 3 callers
Method
telemetry_snapshot
(&self)
influxdb3/tests/server/mod.rs:1081
↓ 3 callers
Function
test_catalog
()
influxdb3_catalog/src/format/records/repository/tests.rs:14
↓ 3 callers
Function
test_catalog
Helper to create a test catalog.
influxdb3_catalog/src/format/records/table/tests.rs:16
↓ 3 callers
Function
test_chunk_with_id
test chunk with time range and field1's value range and with a given chunk id
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs:2554
↓ 3 callers
Function
test_execute_partition
Execute the specified partition of the [ExecutionPlan] with a default [SessionContext] returning the resulting stream. # Panics If an an error occurs
core/datafusion_util/src/lib.rs:374
↓ 3 callers
Method
test_time_stamp_min_max
Test a `min` and `max` time against this filter to check if the range they define overlaps with the range defined by the bounds in this filter.
influxdb3_write/src/lib.rs:815
↓ 3 callers
Method
to_arrow
Convert to an arrow with an optional null bitmask
core/arrow_util/src/string.rs:192
↓ 3 callers
Method
to_be_bytes
(&self)
core/data_types/src/lib.rs:175
↓ 3 callers
Method
to_database_actions
(&self)
influxdb3_authz/src/permissions.rs:318
↓ 3 callers
Method
to_field
Returns a field representation of this expression with its name, data type, and nullability. The field is derived from the underlying expression but
core/iox_query/src/exec/series_limit/logical.rs:166
↓ 3 callers
Function
to_parquet_bytes
A helper function that calls [`to_parquet()`], serialising the parquet file into an in-memory buffer and returning the resulting bytes.
core/parquet_file/src/serialize.rs:193
↓ 3 callers
Function
to_string_array
(strs: &[&str])
core/parquet_file/src/lib.rs:855
↓ 3 callers
Function
to_timestamp_array
(timestamps: &[i64])
core/parquet_file/src/lib.rs:860
↓ 3 callers
Method
to_u64
(&self)
influxdb3_catalog/src/catalog/versions/v3/schema/cache.rs:450
↓ 3 callers
Method
token
Get the token for the server
influxdb3/tests/server/mod.rs:710
↓ 3 callers
Method
total_count
Returns the total number of rows (including nulls) in this column
core/data_types/src/lib.rs:1710
↓ 3 callers
Method
total_size
Size of the entire buffer, including the initialized part and the uninitialized part. Also see [`space_left`](Self::space_left) and [`initialized_byt
core/linear_buffer/src/linear_buffer.rs:102
↓ 3 callers
Method
touch
(&self)
influxdb3_write/src/table_index_cache.rs:159
↓ 3 callers
Method
try_acquire_many
Try to acquire `n` permits, returning [`tokio::sync::TryAcquireError::NoPermits`] immediately if there aren't enough permits left. See [`tokio::sync:
core/tracker/src/async_semaphore.rs:257
↓ 3 callers
Function
try_as_boolean_scalar
Extract `Option<bool>` from `ScalarValue::Boolean` with a descriptive error on type mismatch.
core/iox_query/src/exec/split.rs:528
↓ 3 callers
Function
union_multiple_children
Take in 1 or more children, and returns a singular [`ExecutionPlan`]. If there are multiple children, it unions in order to return a singular executi
core/iox_query/src/util.rs:191
↓ 3 callers
Function
unknown_statistics_by_partition
Provide unknown/absent statistics for all partitions in the plan.
core/iox_query/src/statistics/partition_statistics/mod.rs:393
↓ 3 callers
Function
unsigned_integer
Parse an unsigned InfluxQL integer. InfluxQL defines an integer as follows ```text INTEGER ::= [0-9]+ ```
core/influxdb_influxql_parser/src/literal.rs:164
↓ 3 callers
Method
update
(&mut self, array: ArrayRef, update: Update)
core/iox_query_influxql/src/aggregate/spread.rs:97
↓ 3 callers
Method
update
(&mut self, point_values: ArrayRef, point_times: ArrayRef)
core/iox_query_influxql/src/aggregate/mode.rs:119
↓ 3 callers
Method
update_admin_token_hash
( &mut self, token_id: TokenId, hash: Vec<u8>, updated_at: i64, )
influxdb3_catalog/src/catalog/versions/v3/schema/tokens.rs:49
↓ 3 callers
Method
update_all_from_object_store
Updates all table indices in the cache from object store. This method performs a comprehensive synchronization between the object store and the local
influxdb3_write/src/table_index_cache.rs:1166
↓ 3 callers
Method
update_batch
(&mut self, values: &[ArrayRef])
core/query_functions/src/selectors/internal.rs:280
↓ 3 callers
Method
update_from_object_store
Update a cached index from the object store
influxdb3_write/src/table_index_cache.rs:960
↓ 3 callers
Method
update_node_state_stopped
( &self, node_id: &str, process_uuid_getter: Arc<dyn ProcessUuidGetter>, )
influxdb3_catalog/src/catalog/versions/v2/update.rs:332
↓ 3 callers
Method
update_node_state_stopped
Mark a node as stopped, recording the stopping process UUID. Used by a node's own graceful-shutdown path.
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1554
↓ 3 callers
Method
update_table
Update a table in the database. This fails if the table doesn't exist.
influxdb3_catalog/src/catalog/versions/v1.rs:1072
↓ 3 callers
Function
user_provided_value_source
(source: Option<ValueSource>)
influxdb3/src/lib.rs:388
↓ 3 callers
Method
username_exists
Check if a username already exists
influxdb3_catalog/src/catalog/versions/v3/schema/user.rs:241
↓ 3 callers
Function
validate_db_name
Validate a database name A valid name: - Starts with a letter or a number - Is ASCII, not UTF-8 - Contains only letters, numbers, underscores, or hyp
influxdb3_server/src/http.rs:2301
↓ 3 callers
Function
validate_record_flags
Validate that a record's flags are appropriate for the given record ID. Returns an error if the record ID is unknown and the UPGRADE_SAFE flag is not
influxdb3_catalog/src/format/registry.rs:208
↓ 3 callers
Method
validate_steps
(&mut self, test: PurgeTestCase)
influxdb3_write/src/table_index_cache/tests.rs:2332
↓ 3 callers
Method
value
(&self)
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/s3_fifo.rs:39
↓ 3 callers
Method
value_columns
Specify the value columns for the cache
influxdb3_client/src/lib.rs:1620
↓ 3 callers
Method
variant
(&self)
core/service_grpc_flight/src/request.rs:143
↓ 3 callers
Method
wal
(&self)
influxdb3_write/src/write_buffer/mod.rs:442
↓ 3 callers
Function
walk_expression
Perform a depth-first traversal of an expression tree.
core/influxdb_influxql_parser/src/expression/walk.rs:24
↓ 3 callers
Function
wildcard
Parse a wildcard expression. wildcard ::= "*" ( "::" ("field" | "tag")?
core/influxdb_influxql_parser/src/select.rs:614
↓ 3 callers
Function
window_partition_by
Calculate the partitioning for window functions.
core/iox_query_influxql/src/plan/planner.rs:4461
↓ 3 callers
Method
with_auth_token
Set the `Bearer` token that will be sent with each request to the server # Example ``` # use influxdb3_client::Client; # use influxdb3_client::Precis
influxdb3_client/src/lib.rs:192
↓ 3 callers
Method
with_database
( &self, catalog: &mut InnerCatalog, database_id: u32, f: impl FnOnce(&mut Dat
influxdb3_catalog/src/format/records/repository.rs:150
↓ 3 callers
Method
with_dummy_parquet_file_and_store
(self, store: &str)
core/iox_query/src/test.rs:530
↓ 3 callers
Method
with_enable_deduplication
(mut self, enable_deduplication: bool)
core/iox_query/src/provider.rs:108
↓ 3 callers
Method
with_expr
If the given expression uses the given column with comparison operators, update this time range to reflect that.
core/iox_query/src/analyzer/handle_gapfill/range_predicate.rs:121
↓ 3 callers
Method
with_exprs_and_inputs
(&self, exprs: Vec<Expr>, inputs: Vec<LogicalPlan>)
core/iox_query/src/exec/series_limit/logical.rs:624
↓ 3 callers
Method
with_influxql_filled
Builder-style method to set the filled status for InfluxQL on the field.
core/iox_query_influxql/src/plan/planner/metadata.rs:30
↓ 3 callers
Method
with_jaeger_debug_name
specify a custom jaeger_debug_header_name For example, 'jaeger-debug-id'
core/trace_http/src/ctx.rs:94
↓ 3 callers
Method
with_observer
Sets a [`CatalogCacheObserver`] for this [`CatalogCache`]
core/catalog_cache/src/local/mod.rs:69
↓ 3 callers
Method
with_param
Set a query parameter value with the given `name` # Example ```no_run # use influxdb3_client::Client; # #[tokio::main] # async fn main() -> Result<()
influxdb3_client/src/lib.rs:1325
↓ 3 callers
Method
with_tick_duration
(self, d: Duration)
core/tokio_watchdog/src/lib.rs:56
↓ 3 callers
Method
with_warn_duration
(self, d: Duration)
core/tokio_watchdog/src/lib.rs:67
↓ 3 callers
Method
with_yes
(mut self)
influxdb3/tests/cli/api.rs:326
↓ 3 callers
Method
write_from_slice
(&mut self, name: &str, values: &[V])
core/mutable_batch/src/writer.rs:209
↓ 3 callers
Method
write_from_slice_with_mask
( &mut self, name: &str, mut values: &[V], valid_mask: &[u8], )
core/mutable_batch/src/writer.rs:137
↓ 3 callers
Method
write_lp_inner
(&self, params: WriteParams, req: Request)
influxdb3_server/src/http.rs:1076
↓ 3 callers
Function
write_plugin
(plugin_dir: &TempDir, filename: &str, code: &str)
influxdb3/tests/server/telemetry.rs:6
↓ 3 callers
Method
write_sample
( &mut self, rng: &mut impl RngCore, mut buffer: Vec<u8>, sample_time: DateTim
influxdb3_load_generator/src/line_protocol_generator.rs:694
↓ 3 callers
Function
write_slice
(to_insert: usize, ranges: &[Range<usize>], src_data: &[T], dst_data: &mut Vec<T>)
core/mutable_batch/src/writer.rs:937
↓ 3 callers
Method
write_to_batch
(&self, batch: &mut MutableBatch)
core/mutable_batch/src/payload.rs:12
↓ 3 callers
Method
year
Get the year component.
influxdb3_write/src/lib.rs:421
↓ 2 callers
Method
abort
(&mut self)
influxdb3_test_helpers/src/object_store/mock.rs:603
↓ 2 callers
Method
acquire_duration
The time it took to acquire this permit.
core/tracker/src/async_semaphore.rs:610
↓ 2 callers
Method
active_table
Returns the active (not deleted) database schema and table definition for the given database and table names.
influxdb3_catalog/src/catalog/versions/v2/enterprise.rs:570
↓ 2 callers
Method
add
Adds a duration to a nanosecond timestamp Original: <https://github.com/influxdata/flux/blob/1e9bfd49f21c0e679b42acf6fc515ce05c6dec2b/values/time.go#
core/query_functions/src/window/internal.rs:212
↓ 2 callers
Method
add_columns
Add the columns to this [`TableDefinition`] This ensures that the resulting schema has its columns ordered
influxdb3_catalog/src/catalog/versions/v1.rs:1664
← previous
next →
2,201–2,300 of 11,906, ranked by callers