Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/influxdata/influxdb
/ functions
Functions
11,906 in github.com/influxdata/influxdb
⨍
Functions
11,906
◇
Types & classes
2,644
↳
Endpoints
4
↓ 67 callers
Function
database
(id: u32, name: &str, retention: Option<RetentionPeriodSnapshot>)
influxdb3_catalog/src/catalog/migrations/v3/tests.rs:100
↓ 67 callers
Function
test_catalog
()
influxdb3_catalog/src/catalog/versions/v3/ops/test_util.rs:17
↓ 66 callers
Method
fail
Record that this query failed during planning.
core/iox_query/src/query_log.rs:1161
↓ 66 callers
Method
field
(&self, field_args: WindowUDFFieldArgs<'_>)
core/iox_query_influxql/src/window/elapsed.rs:39
↓ 66 callers
Method
http_client
(&self)
influxdb3/tests/server/mod.rs:747
↓ 66 callers
Function
rewrite_select_statement
Test implementation that converts `Select` to `SelectStatement` so that it can be converted back to a string.
core/iox_query_influxql/src/plan/rewriter.rs:2152
↓ 65 callers
Method
push
Push an item into the queue with a specific time.
influxdb3_write/src/async_collections.rs:37
↓ 64 callers
Method
and
Return `self AND other`
core/influxdb_influxql_parser/src/expression/conditional.rs:140
↓ 64 callers
Method
as_str
Convert the enum to its string representation
core/flightsql/src/lib.rs:29
↓ 63 callers
Function
assert_histogram_hit
( metrics: &metric::Registry, name: &'static str, attr: [(&'static str, &'static str); N], )
core/object_store_metrics/src/test_utils.rs:7
↓ 63 callers
Method
contains
(&self, perm: u16)
influxdb3_authz/src/permissions.rs:306
↓ 63 callers
Method
get_by_name
(&self, name: &str)
influxdb3_catalog/src/catalog/versions/v2.rs:2961
↓ 63 callers
Method
send
Record a send action. This may async-block if the rate limit was hit until the it is OK to send a message again. It is safe to cancel this method.
core/trace_exporters/src/rate_limiter.rs:28
↓ 63 callers
Method
with_id
(mut self, id: u128)
core/iox_query/src/test.rs:568
↓ 63 callers
Method
with_plugin_dir
Set the plugin dir for this [`TestServer`]
influxdb3/tests/server/mod.rs:160
↓ 62 callers
Method
repo
(&self)
influxdb3_catalog/src/catalog/versions/v3/schema/role.rs:34
↓ 61 callers
Method
finish
Note: may be able to use something simpler than StructArray here, this is just based directly on the arrow docs: https://docs.rs/arrow/latest/arrow/ar
influxdb3_query_executor/src/lib.rs:425
↓ 61 callers
Method
next
(&self)
influxdb3_catalog/src/catalog.rs:109
↓ 60 callers
Method
column_or_create
( &mut self, table_name: &str, column_name: &str, column_type: InfluxColumnTyp
influxdb3_catalog/src/catalog/versions/v2/update.rs:1924
↓ 60 callers
Method
is_empty
(&self)
influxdb3_wal/src/lib.rs:477
↓ 60 callers
Method
join
Blocks until all futures associated with the tracker have been dropped and no more can be created
core/tracker/src/task.rs:453
↓ 60 callers
Method
mock_next
(self: Arc<Self>, call: MockCall)
core/object_store_mock/src/lib.rs:373
↓ 58 callers
Function
expect
Transforms a [`nom::Err::Error`] to a [`nom::Err::Failure`] using `message` for additional context.
core/influxdb_influxql_parser/src/internal.rs:82
↓ 58 callers
Method
len
Return the number of parameters in this collection.
core/iox_query_params/src/params.rs:132
↓ 57 callers
Method
as_expr
(&self)
core/datafusion_util/src/lib.rs:67
↓ 57 callers
Method
create_trigger
( &self, db_name: impl Into<String>, trigger_name: impl Into<String>, plugin_f
influxdb3/tests/cli/api.rs:650
↓ 57 callers
Function
empty_snapshot
(sequence: u64)
influxdb3_catalog/src/catalog/migrations/v3/tests.rs:54
↓ 57 callers
Method
first
(call: &'a Call)
core/iox_query_influxql/src/plan/planner/select.rs:291
↓ 57 callers
Function
select_statement_info
Gather information about the semantics of a [`SelectStatement`] and verify the `SELECT` projection clause is semantically correct. Upon success the f
core/iox_query_influxql/src/plan/rewriter.rs:1706
↓ 57 callers
Function
synthesize_records
Synthesize the v3 records that reconstruct `snapshot`'s state. Returns a [`RecordBatch`] stamped with the snapshot's sequence number. Applying the ba
influxdb3_catalog/src/catalog/migrations/v3.rs:154
↓ 57 callers
Method
take
Transfer ownership of the buffered record batches to the caller for processing. Resets the memory reservation since we no longer hold these batches.
core/iox_query/src/exec/gapfill/buffered_input.rs:86
↓ 56 callers
Method
max
()
core/generated_types/src/lib.rs:55
↓ 55 callers
Method
build
(self)
core/iox_query/src/physical_optimizer/sort/lexical_range.rs:102
↓ 54 callers
Method
as_any
(&self)
core/iox_query/src/physical_optimizer/projection_pushdown.rs:1965
↓ 53 callers
Method
output
(&self, catalog: &InnerCatalog)
influxdb3_catalog/src/catalog/versions/v3/ops/role.rs:67
↓ 52 callers
Method
catalog
(&self)
influxdb3_write/src/lib.rs:961
↓ 52 callers
Method
id
Return the identifier of the column.
influxdb3_catalog/src/catalog/versions/v3/schema/column.rs:60
↓ 52 callers
Function
to_string
--- Test infrastructure --
core/iox_query/src/provider/overlap.rs:378
↓ 51 callers
Method
as_ref
(&self)
core/data_types/src/namespace_name.rs:185
↓ 51 callers
Method
len
Return a count of items in the queue.
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/fifo.rs:29
↓ 51 callers
Method
project
adds a ProjectionExec node to the plan with the specified columns
core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs:2419
↓ 51 callers
Function
run_case
Runs the expr using `run_plan` and compares the result to `expected`
core/query_functions/src/selectors.rs:1272
↓ 51 callers
Method
take
Take the contents of this recorder returning a new recorder From this point on `self` will behave as if it were created with no span
core/trace/src/span.rs:339
↓ 50 callers
Function
make_statement
( database: &Arc<dyn QueryDatabase>, ctx: &Arc<IOxSessionContext>, log: &Arc<QueryLog>
core/iox_v1_query_api/src/response.rs:505
↓ 49 callers
Method
insert
Insert a new resource to the repository
influxdb3_catalog/src/catalog/versions/v2/update.rs:2126
↓ 49 callers
Method
with_tag_column
Register a tag column with the test chunk with default stats
core/iox_query/src/test.rs:612
↓ 48 callers
Function
assert_u64histogram_hits
( metrics: &metric::Registry, name: &'static str, attr: [(&'static str, &'static str); N], exp
core/object_store_metrics/src/test_utils.rs:80
↓ 48 callers
Function
channel
Create channel that can be used ONCE to send a [`Slice`]. The sender may choose not to accept the transfer (by not calling [`accept`](BufferSender::a
core/object_store_mem_cache/src/buffer_channel.rs:24
↓ 48 callers
Method
contains
Return true if this column appears anywhere in the sort key.
core/schema/src/sort.rs:114
↓ 48 callers
Method
name
return a human readable name for this result
core/tracker/src/task.rs:191
↓ 48 callers
Method
next
(&self)
influxdb3_wal/src/lib.rs:492
↓ 48 callers
Method
push
(&mut self, row_status: RowStatus)
core/iox_query/src/exec/gapfill/algo.rs:457
↓ 48 callers
Method
require_by_id
Get a resource by id, or return `NotFound` if it does not exist.
influxdb3_catalog/src/repository.rs:117
↓ 48 callers
Method
soft_delete_database
( &self, db_name: &str, hard_delete_time: HardDeletionTime, hard_delete_scope:
influxdb3_catalog/src/catalog/versions/v2/update.rs:419
↓ 47 callers
Method
as_any
(&self)
core/iox_query/src/exec/sleep.rs:216
↓ 47 callers
Method
timestamp_millis
Returns the number of non-leap-milliseconds since January 1, 1970 UTC
core/iox_time/src/lib.rs:129
↓ 46 callers
Method
assert
(&self)
core/iox_query_influxql_rewrite/src/lib.rs:236
↓ 46 callers
Function
evaluate_type
( s: &dyn SchemaProvider, expr: &str, from: &[&str], )
core/iox_query_influxql/src/plan/expr_type_evaluator.rs:513
↓ 46 callers
Method
schema
(&self, s: &dyn SchemaProvider)
core/iox_query_influxql/src/plan/ir.rs:168
↓ 45 callers
Method
as_nanos
(&self)
influxdb3_wal/src/lib.rs:203
↓ 45 callers
Method
get_by_name
(&self, name: &str)
influxdb3_catalog/src/catalog/versions/v2/legacy.rs:161
↓ 45 callers
Method
len
(&self)
influxdb3_catalog/src/format/record.rs:203
↓ 45 callers
Method
push
Append this [`Value`] to the null mask. This call is amortised `O(1)` for [`Value::Null`] and always `O(1)` and allocation free for [`Value::NonNull`
core/table_batch/src/builder/null_mask.rs:83
↓ 45 callers
Method
url
URL to given key.
core/catalog_cache/src/api/client.rs:197
↓ 45 callers
Method
with_time_column
Register a timestamp column with the test chunk with default stats
core/iox_query/src/test.rs:693
↓ 44 callers
Method
as_array
Produce an arrow [`ArrayRef`] from this column for the sake of producing [`RecordBatch`]es Accepts `n_non_expired` to indicate how many of the first
influxdb3_cache/src/last_cache/cache.rs:1051
↓ 44 callers
Function
chunk
(id: u128)
core/iox_query/src/physical_optimizer/dedup/test_util.rs:54
↓ 44 callers
Method
insert
Inserts a parameter name-value pair into the map. If the map did not have this parameter name present, `None` is returned. If the map did have the p
core/iox_query_params/src/params.rs:171
↓ 44 callers
Method
len
Returns the number of rows in this column
core/mutable_batch/src/column.rs:189
↓ 44 callers
Function
read_body_bytes_for_tests
FOR TESTS ONLY: Read the full response as bytes. # Panics Panics if reading any frame fails! Non-test code should be processing the stream and propa
core/iox_http_util/src/lib.rs:128
↓ 44 callers
Method
set
Sets the value of this U64Gauge
core/metric/src/gauge.rs:17
↓ 44 callers
Method
take
(&mut self)
influxdb3_catalog/src/format/apply.rs:195
↓ 43 callers
Method
get
Retrieve the value of a parameter with the given name.
core/iox_query_params/src/params.rs:147
↓ 43 callers
Function
parse
Parse the body of a Prometheus metric endpoint. # Panics Panics if a duplicate value is observed for the same `(name, labels)` tuple.
core/test_helpers/src/prometheus.rs:249
↓ 43 callers
Method
replace
Replaces the actual value in the receiver by the value given in parameter, returning the old value if present.
core/influxdb_influxql_parser/src/common.rs:546
↓ 42 callers
Function
assert_counter_value
( metrics: &metric::Registry, name: &'static str, attr: [(&'static str, &'static str); N], val
core/object_store_metrics/src/test_utils.rs:63
↓ 42 callers
Method
get
Retrieve the given value from the remote cache Returns `None` if value is not present in a quorum of replicas Returns [`Error::Quorum`] if cannot est
core/catalog_cache/src/api/quorum.rs:115
↓ 42 callers
Method
get_or_fetch
Get an existing key or start a new fetch process. Returns a [`CacheState`] that contains either the cached value or a future that resolves to the val
core/object_store_mem_cache/src/cache_system/s3_fifo_cache/mod.rs:338
↓ 42 callers
Method
is_empty
Return `true` if the map is empty.
core/iox_query/src/pruning_oracle.rs:105
↓ 42 callers
Method
iter
Iterate over the names and columns.
core/data_types/src/columns.rs:79
↓ 42 callers
Method
len
Return the logical length of this [`NullMaskBuilder`] (total number of null and non-null [`Value`] encoded). This call is always `O(1)`. Note: the p
core/table_batch/src/builder/null_mask.rs:155
↓ 42 callers
Function
lit_timestamptz_nano
Create a timestamp literal for the given UTC nanosecond offset in the timezone specified by [TIME_DATA_TIMEZONE]. N.B. If [TIME_DATA_TIMEZONE] specif
core/datafusion_util/src/lib.rs:479
↓ 42 callers
Function
path
()
core/object_store_mock/src/lib.rs:605
↓ 42 callers
Method
query_sql
(&self, database: impl Into<String>)
influxdb3/tests/cli/api.rs:376
↓ 42 callers
Method
values
(&self)
influxdb3_cache/src/last_cache/cache.rs:520
↓ 41 callers
Method
db_name_to_id
(&self, db_name: &str)
influxdb3_catalog/src/catalog/versions/v2/enterprise.rs:696
↓ 41 callers
Method
iter
(&self)
influxdb3_catalog/src/catalog/versions/v2/legacy.rs:116
↓ 41 callers
Method
slice
Update this cursor to reflect that `offset` older rows are being sliced off from the buffered input.
core/iox_query/src/exec/gapfill/algo.rs:437
↓ 41 callers
Method
with_sql
(mut self, query: impl Into<String>)
influxdb3/tests/cli/api.rs:394
↓ 40 callers
Method
as_str
(&self)
influxdb3_catalog/src/log/versions/v2.rs:246
↓ 40 callers
Method
bytes
Number of bytes.
influxdb3_clap_blocks/src/memory_size.rs:32
↓ 40 callers
Method
elapsed
(&self)
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:371
↓ 40 callers
Method
extend
Pads with empty strings to reach length
core/arrow_util/src/string.rs:111
↓ 40 callers
Method
len
Returns the number of elements in this list
core/data_types/src/snapshot/list.rs:131
↓ 40 callers
Function
string
( delimiter: char, unterminated_message: &'static str, literal: T, escaped: U, )
core/influxdb_influxql_parser/src/string.rs:102
↓ 40 callers
Method
timestamp
Returns the number of seconds since January 1, 1970 UTC
core/iox_time/src/lib.rs:104
↓ 40 callers
Method
with_timestamp_min_max
(mut self, min: i64, max: i64)
core/iox_query/src/test.rs:730
↓ 39 callers
Method
as_store
(self: Arc<Self>)
core/object_store_mock/src/lib.rs:391
↓ 39 callers
Method
create_database
Create a new database with default options.
influxdb3_catalog/src/catalog/versions/v3/catalog.rs:1648
↓ 39 callers
Method
next
Return next level, if there is one. This is used for iterating a range, not determining the target level.
core/data_types/src/lib.rs:101
← previous
next →
101–200 of 11,906, ranked by callers