Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GreptimeTeam/greptimedb
/ functions
Functions
24,685 in github.com/GreptimeTeam/greptimedb
⨍
Functions
24,685
◇
Types & classes
4,103
↓ 3,508 callers
Method
clone
clone a collection, require a mutable reference to the hydroflow instance Note: need to be the same hydroflow instance that this collection is create
src/flow/src/compute/types.rs:49
↓ 3,423 callers
Method
map
Append the result of evaluating expressions to each row. simply append `expressions` to `self.expressions` while paying attention to column referenc
src/flow/src/expr/linear.rs:291
↓ 3,303 callers
Method
clone
(&self)
src/mito2/src/wal.rs:69
↓ 2,429 callers
Method
clone
(&self)
src/common/meta/src/key.rs:518
↓ 1,544 callers
Method
into
(self)
src/standalone/src/options.rs:128
↓ 1,319 callers
Method
collect
(repository: Option<&Repository>)
src/common/version/build.rs:78
↓ 1,190 callers
Method
as_ref
(&self)
src/session/src/context.rs:653
↓ 1,062 callers
Method
iter
Returns an iterator over the slice.
src/flow/src/repr.rs:176
↓ 996 callers
Method
map
(&self, mapper: F)
src/common/base/src/plugins.rs:68
↓ 886 callers
Method
into_iter
Creates a consuming iterator, that is, one that moves each value out of the `Row` (from start to end). The `Row` cannot be used after calling this
src/flow/src/repr.rs:171
↓ 676 callers
Method
push
Pushes a stalled request to the buffer.
src/mito2/src/worker.rs:789
↓ 594 callers
Method
to_vec
(&self)
src/servers/src/repeated_field.rs:367
↓ 572 callers
Method
iter
(&self)
src/common/recordbatch/src/lib.rs:283
↓ 552 callers
Method
iter
(&self)
src/mito2/src/test_util/bench_util.rs:138
↓ 528 callers
Function
init_default_ut_logging
Init tracing for unittest. Write logs to file `unittest`.
src/common/telemetry/src/logging.rs:393
↓ 489 callers
Method
len
Returns the number of elements in the row, also known as its 'length'.
src/flow/src/repr.rs:181
↓ 482 callers
Method
clone
(&self)
src/servers/src/repeated_field.rs:374
↓ 471 callers
Method
clone
(&self)
src/datatypes/src/json/value.rs:566
↓ 470 callers
Method
send
Sends the `result`.
src/mito2/src/request.rs:484
↓ 467 callers
Method
and_then
(mut self, operations: impl Into<Vec<TxnOp>>)
src/common/meta/src/kv_backend/txn.rs:209
↓ 433 callers
Method
len
Returns the number of in-progress rows in this [`BatchBuilder`]
src/mito2/src/read/flat_merge.rs:235
↓ 415 callers
Method
value
(&self)
src/common/meta/src/rpc.rs:122
↓ 413 callers
Method
len
(&self)
src/common/base/src/bytes.rs:103
↓ 409 callers
Method
handle_request
Handles [RegionRequest] and return its executed result.
src/mito2/src/engine.rs:1005
↓ 399 callers
Method
build
(&self, opts: LoggingOptions)
src/cmd/src/cli.rs:73
↓ 380 callers
Method
push
(&self, event: ProgressEvent)
src/cli/src/data/progress.rs:435
↓ 365 callers
Method
push
(&mut self, key: String, value: Vec<u8>)
src/common/procedure/src/store/util.rs:94
↓ 340 callers
Function
col
(column_name: impl Into<String>)
src/partition/src/expr.rs:54
↓ 333 callers
Method
iter
(&self)
src/servers/src/repeated_field.rs:284
↓ 322 callers
Method
insert
Inserts a [ServerHandler] **before** the [ServerHandlers] is started.
src/servers/src/server.rs:58
↓ 313 callers
Method
cloned
(&self)
src/query/src/options.rs:360
↓ 308 callers
Method
get
(&self, pid: Pid)
tests-fuzz/src/utils/process.rs:63
↓ 307 callers
Function
lit
(v: impl Into<Value>)
src/flow/src/utils.rs:723
↓ 294 callers
Method
into_iter
Returns an iterator over the key-value pairs.
src/common/meta/src/snapshot/file.rs:112
↓ 284 callers
Method
path
Returns the path of the directory.
src/puffin/src/puffin_manager.rs:167
↓ 270 callers
Method
iter
Returns a [FailureDetectorEntry] iterator.
src/meta-srv/src/region/failure_detector.rs:90
↓ 261 callers
Method
clone
(&self)
src/object-store/src/layers/mock.rs:48
↓ 252 callers
Method
push_column_metadata
Pushes a new column metadata to this region's metadata.
src/store-api/src/metadata.rs:641
↓ 250 callers
Function
execute_sql
(instance: &Arc<Instance>, sql: &str)
tests-integration/src/tests/instance_test.rs:2743
↓ 244 callers
Method
build
Builds a new [Version] from the builder. It overwrites the window size by compaction option.
src/mito2/src/region/version.rs:507
↓ 237 callers
Method
len
(&self)
src/promql/src/range_array.rs:142
↓ 236 callers
Function
to_string
(result: either::Either<MySqlQueryResult, MySqlRow>)
tests-integration/tests/mysql.rs:35
↓ 232 callers
Method
as_bytes
Converts [FileId] as byte slice.
src/store-api/src/storage/file.rs:51
↓ 232 callers
Method
column
Get the column name
src/partition/src/collider.rs:98
↓ 221 callers
Method
is_none
(&self)
src/servers/src/http/prometheus.rs:176
↓ 210 callers
Method
table_id
(&self)
src/table/src/metadata.rs:1234
↓ 209 callers
Method
field
(&self, field_args: WindowUDFFieldArgs)
src/common/function/src/scalars/anomaly/mad.rs:72
↓ 206 callers
Method
values
(&self)
src/promql/src/range_array.rs:213
↓ 202 callers
Method
take
(self)
src/common/recordbatch/src/lib.rs:316
↓ 197 callers
Method
push
Pushes a value into builder.
src/mito2/src/memtable/builder.rs:47
↓ 188 callers
Method
insert
(&self, key: VectorIndexCacheKey, value: Arc<CachedVectorIndex>)
src/mito2/src/cache/index/vector_index.rs:122
↓ 188 callers
Method
into_iter
(self)
src/servers/src/repeated_field.rs:393
↓ 187 callers
Method
inc
(&self, _delta: u64)
src/cli/src/data/progress.rs:127
↓ 184 callers
Function
put_rows
Put rows into the engine.
src/mito2/src/test_util.rs:1226
↓ 181 callers
Method
body
Set the request body.
src/servers/src/http/test_helpers.rs:157
↓ 179 callers
Method
iter
Returns an iterator over the columns in this relation.
src/flow/src/repr/relation.rs:514
↓ 178 callers
Method
as_str
(&self)
src/mito2/src/region.rs:119
↓ 172 callers
Method
create_engine
Creates a new engine with specific config under this env.
src/mito2/src/test_util.rs:340
↓ 171 callers
Method
fields
Returns fields in the batch.
src/mito2/src/read.rs:183
↓ 169 callers
Method
post
Create a POST request.
src/servers/src/http/test_helpers.rs:97
↓ 164 callers
Method
contains
Returns true if `timestamp` is contained in the range.
src/common/time/src/range.rs:178
↓ 164 callers
Method
extend
extend the row with values from an iterator
src/flow/src/repr.rs:163
↓ 163 callers
Method
build
(&self, start_frontend_servers: bool)
tests-integration/src/cluster.rs:327
↓ 162 callers
Method
pop
(&mut self)
src/servers/src/repeated_field.rs:217
↓ 158 callers
Method
header
(&self)
src/meta-srv/src/handler.rs:234
↓ 156 callers
Method
clone
(&self)
src/session/src/context.rs:683
↓ 155 callers
Method
project
Retain only the indicated columns in the presented order. i.e. before: `self.projection = [1, 2, 0], columns = [1, 0]` ```mermaid flowchart TD col-0
src/flow/src/expr/linear.rs:172
↓ 155 callers
Method
push
(&self, res: HeartbeatResponse)
src/meta-srv/src/handler.rs:224
↓ 154 callers
Function
create_temp_dir
(prefix: &str)
src/common/test-util/src/temp_dir.rs:17
↓ 151 callers
Method
remove
Removes stalled requests of specific region.
src/mito2/src/worker.rs:807
↓ 149 callers
Method
as_bytes
(self)
src/common/base/src/readable_size.rs:42
↓ 149 callers
Function
col
(name: &str, dt: ColumnDataType, st: SemanticType)
src/mito2/src/wal/encoder.rs:327
↓ 148 callers
Method
insert
(&mut self, column: ColumnRef, value: impl ToString)
src/servers/src/http/prometheus.rs:778
↓ 147 callers
Method
len
Returns the length of `kvs`
src/common/meta/src/kv_backend/memory.rs:72
↓ 146 callers
Method
as_slice
(&self)
src/servers/src/repeated_field.rs:139
↓ 146 callers
Method
iter
Returns an iterator over the row groups in the selection.
src/mito2/src/sst/parquet/row_selection.rs:449
↓ 146 callers
Method
write
write lock the arrangement
src/flow/src/utils.rs:664
↓ 145 callers
Method
get
Retrieves the value associated with the given key in the specified region. Returns `Ok(None)` if the key is not found.
src/metric-engine/src/metadata_region.rs:678
↓ 143 callers
Method
push
(&mut self, ch: char)
src/pipeline/src/etl/processor/dissect.rs:181
↓ 138 callers
Method
write
(&self, _kvs: &KeyValues)
src/mito2/src/memtable/bulk.rs:415
↓ 135 callers
Method
get
Gets a single tombstoned value by its original key.
src/common/meta/src/key/tombstone.rs:102
↓ 135 callers
Method
into_iter
(self)
src/pipeline/src/etl/field.rs:113
↓ 133 callers
Method
as_u64
Cast Value to u64. Return None if value is not a valid uint64 data type.
src/datatypes/src/value.rs:345
↓ 130 callers
Method
into_inner
(self)
src/common/meta/src/key.rs:540
↓ 128 callers
Method
get_region
(&self, id: RegionId)
src/mito2/src/engine.rs:481
↓ 127 callers
Method
filter
Add a new filter to the plan, will filter out the records that do not satisfy the filter
src/flow/src/plan.rs:99
↓ 127 callers
Method
push
(&mut self, value: serde_json::Value)
src/servers/src/http/result.rs:90
↓ 126 callers
Method
file_id
Gets the file id.
src/mito2/src/sst/file.rs:138
↓ 126 callers
Function
rows_schema
Get column schemas for rows.
src/mito2/src/test_util.rs:1207
↓ 126 callers
Function
validate_data
(test_name: &str, client: &TestClient, sql: &str, expected: &str)
tests-integration/tests/http.rs:9210
↓ 125 callers
Method
frontend
(&self)
tests-integration/src/tests/test_util.rs:62
↓ 125 callers
Method
read
( &self, context: BulkIterContextRef, sequence: Option<SequenceRange>, mem_sca
src/mito2/src/memtable/bulk/part.rs:1072
↓ 123 callers
Method
as_str
(&self)
src/servers/src/http.rs:329
↓ 121 callers
Function
check_output_stream
(output: OutputData, expected: &str)
src/common/test-util/src/recordbatch.rs:24
↓ 121 callers
Method
lt
(self, rhs: impl Into<Self>)
src/partition/src/expr.rs:111
↓ 120 callers
Method
insert
(&self, value: T)
src/common/base/src/plugins.rs:33
↓ 119 callers
Method
execute
( &mut self, db: &crate::env::bare::GreptimeDB, namespace: &str, )
tests/runner/src/cmd/compat.rs:768
↓ 119 callers
Method
get
Get the value at the given index
src/flow/src/repr.rs:130
↓ 119 callers
Function
parse
(input: &Content)
src/pipeline/src/etl.rs:60
↓ 119 callers
Function
query
(instance: &Instance, request: Request)
tests-integration/src/grpc.rs:132
next →
1–100 of 24,685, ranked by callers