Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiangpengHao/pq-vector
/ functions
Functions
167 in github.com/XiangpengHao/pq-vector
⨍
Functions
167
◇
Types & classes
36
↓ 47 callers
Method
as_any
(&self)
src/df_vector/exec.rs:339
↓ 16 callers
Method
as_usize
(self)
src/ivf/index.rs:28
↓ 7 callers
Method
as_str
(&self)
src/ivf/mod.rs:30
↓ 7 callers
Method
as_usize
(self)
src/ivf/mod.rs:63
↓ 7 callers
Method
children
(&self)
src/df_vector/exec.rs:354
↓ 7 callers
Function
squared_l2_distance
(a: &[f32], b: &[f32])
src/ivf/index.rs:461
↓ 6 callers
Method
dim
(&self)
src/ivf/mod.rs:95
↓ 5 callers
Method
build_new
(self, output: impl AsRef<Path>)
src/ivf/parquet.rs:71
↓ 5 callers
Method
dim
(&self)
src/ivf/index.rs:53
↓ 5 callers
Function
strip_wrappers
(expr: &Arc<dyn PhysicalExpr>)
src/df_vector/physical.rs:216
↓ 5 callers
Method
with_new_children
( self: Arc<Self>, children: Vec<Arc<dyn ExecutionPlan>>, )
src/df_vector/exec.rs:358
↓ 3 callers
Method
build_inplace
(self)
src/ivf/parquet.rs:57
↓ 3 callers
Method
build_topk_from_sort
( &self, sort: &SortExec, limit_fetch: Option<usize>, )
src/df_vector/physical.rs:115
↓ 3 callers
Function
compute_distance_values
(values: &ArrayRef, query: &[f32])
src/df_vector/exec.rs:524
↓ 3 callers
Method
data
(&self)
src/ivf/mod.rs:91
↓ 3 callers
Function
extract_vector_values
( values: &arrow::array::ArrayRef, )
benches/query.rs:449
↓ 3 callers
Function
float_array_to_vec
(values: &ArrayRef)
src/df_vector/expr.rs:44
↓ 3 callers
Function
gather_single_parquet_scan
( plan: &Arc<dyn ExecutionPlan>, )
src/df_vector/access.rs:35
↓ 3 callers
Function
hash_vector_values
(values: &arrow::array::ArrayRef)
benches/query.rs:540
↓ 3 callers
Function
parallel_chunks_mut
(data: &mut [T], f: F)
src/ivf/index.rs:296
↓ 3 callers
Method
partial_cmp
(&self, other: &Self)
src/ivf/search.rs:27
↓ 3 callers
Function
read_index_metadata_from_file_metadata
( metadata: &FileMetaData, )
src/ivf/parquet.rs:145
↓ 3 callers
Method
row_count
(&self)
src/ivf/mod.rs:99
↓ 3 callers
Method
to_bytes
(&self)
src/ivf/index.rs:65
↓ 2 callers
Method
as_u32
(self)
src/ivf/index.rs:32
↓ 2 callers
Method
build_config
(&self)
src/ivf/parquet.rs:88
↓ 2 callers
Function
build_ivf_index
( embeddings: &Embeddings, config: IvfBuildConfig, )
src/ivf/index.rs:152
↓ 2 callers
Method
build_topk_from_sort_inner
( &self, sort: &SortExec, limit_fetch: Option<usize>, )
src/df_vector/physical.rs:134
↓ 2 callers
Method
candidate_rows
(&self, query: &[f32], nprobe: usize)
src/ivf/index.rs:57
↓ 2 callers
Function
column_from_expr
(expr: &Arc<dyn PhysicalExpr>)
src/df_vector/physical.rs:231
↓ 2 callers
Function
column_write_options
(column: &ColumnChunkMetaData)
src/ivf/parquet.rs:466
↓ 2 callers
Function
ensure_indexed
(source: &str, indexed: &str)
examples/common/mod.rs:39
↓ 2 callers
Function
extract_keys
( batches: &[arrow::record_batch::RecordBatch], use_id: bool, )
benches/query.rs:498
↓ 2 callers
Function
generate_parquet
( path: &Path, rows: usize, dim: usize, batch_rows: usize, )
benches/bench_util.rs:12
↓ 2 callers
Function
is_dictionary_encoding
(encoding: Encoding)
src/ivf/parquet.rs:529
↓ 2 callers
Function
is_level_encoding
(encoding: Encoding)
src/ivf/parquet.rs:525
↓ 2 callers
Function
k_means
K-means clustering implementation with k-means++ initialization.
src/ivf/index.rs:323
↓ 2 callers
Function
literal_from_expr
(expr: &Arc<dyn PhysicalExpr>)
src/df_vector/physical.rs:238
↓ 2 callers
Method
n_clusters
(mut self, n_clusters: usize)
src/ivf/parquet.rs:42
↓ 2 callers
Method
name
(&self)
src/df_vector/exec.rs:335
↓ 2 callers
Method
name
(&self)
src/df_vector/physical.rs:189
↓ 2 callers
Function
parquet_scan_files
(scan: &ParquetScanInfo)
src/df_vector/access.rs:178
↓ 2 callers
Method
partial_cmp
(&self, other: &Self)
src/df_vector/exec.rs:444
↓ 2 callers
Function
print_plan_metrics
(plan: &Arc<dyn ExecutionPlan>, indent: usize)
benches/query.rs:461
↓ 2 callers
Function
read_embedding_at_row
( path: &Path, column_name: &str, row: usize, )
examples/common/mod.rs:7
↓ 2 callers
Function
read_index_from_parquet
( path: &Path, )
src/ivf/parquet.rs:191
↓ 2 callers
Function
read_index_from_payload
( payload: &[u8], embedding_column: EmbeddingColumn, )
src/ivf/parquet.rs:151
↓ 2 callers
Function
read_parquet_with_embeddings
( path: &Path, embedding_column: &EmbeddingColumn, )
src/ivf/parquet.rs:216
↓ 2 callers
Method
rewrite_plan
( &self, plan: Arc<dyn ExecutionPlan>, has_offset: bool, )
src/df_vector/physical.rs:32
↓ 2 callers
Method
with_pq_vector
(mut self)
src/df_vector/session.rs:17
↓ 2 callers
Function
worker_count
(len: usize)
src/ivf/index.rs:259
↓ 1 callers
Function
access_plan_for_rows
(row_groups: &[u64], rows: &[u32])
src/df_vector/access.rs:123
↓ 1 callers
Method
add_candidates
(&mut self, idx: usize, candidates: Vec<u32>)
src/df_vector/access.rs:208
↓ 1 callers
Function
append_index_inplace
(plan: ParquetIndexAppend<'_>)
src/ivf/parquet.rs:542
↓ 1 callers
Function
array_literal
(values: &[f32])
benches/bench_util.rs:67
↓ 1 callers
Function
build_access_plans
( files: &[FileEntry], selections: &HashMap<String, Vec<u32>>, )
src/df_vector/access.rs:107
↓ 1 callers
Function
build_batch_from_rows
(schema: SchemaRef, rows: Vec<Vec<ScalarValue>>)
src/df_vector/exec.rs:552
↓ 1 callers
Function
build_context
(options: VectorTopKOptions)
src/df_vector/tests.rs:243
↓ 1 callers
Function
build_row_selection
(row_count: usize, rows: &[u32])
src/df_vector/access.rs:161
↓ 1 callers
Method
build_topk_from_sort_merge
( &self, sort: &SortExec, limit_fetch: Option<usize>, )
src/df_vector/physical.rs:126
↓ 1 callers
Method
cmp
(&self, other: &Self)
src/ivf/search.rs:33
↓ 1 callers
Method
cmp
(&self, other: &Self)
src/df_vector/exec.rs:450
↓ 1 callers
Method
collect_candidates
( &self, context: Arc<TaskContext>, )
src/df_vector/exec.rs:108
↓ 1 callers
Function
collect_column_write_options
( source: &Path, expected_columns: usize, )
src/ivf/parquet.rs:417
↓ 1 callers
Function
collect_parquet_scans
( plan: &Arc<dyn ExecutionPlan>, scans: &mut Vec<ParquetScanInfo>, )
src/df_vector/access.rs:46
↓ 1 callers
Function
column_statistics_level
(column: &ColumnChunkMetaData)
src/ivf/parquet.rs:479
↓ 1 callers
Function
column_uses_dictionary
(column: &ColumnChunkMetaData)
src/ivf/parquet.rs:475
↓ 1 callers
Function
compute_distance
(array: &ArrayRef, row: usize, query: &[f32])
src/df_vector/exec.rs:494
↓ 1 callers
Function
data_page_encoding
(column: &ColumnChunkMetaData)
src/ivf/parquet.rs:489
↓ 1 callers
Function
embedding_column_path
( columns: &[parquet::schema::types::ColumnDescPtr], embedding_column: &EmbeddingColumn, )
src/ivf/parquet.rs:379
↓ 1 callers
Method
execute_index_scan
(&self, context: Arc<TaskContext>)
src/df_vector/index_exec.rs:83
↓ 1 callers
Method
execute_topk
( &self, context: Arc<TaskContext>, metrics: &VectorTopKMetricHandles, )
src/df_vector/exec.rs:279
↓ 1 callers
Method
execute_with_candidates
( &self, file_entries: &[FileEntry], context: Arc<TaskContext>, metrics: &Vect
src/df_vector/exec.rs:207
↓ 1 callers
Function
extract_array_distance_physical
(expr: &Arc<dyn PhysicalExpr>)
src/df_vector/physical.rs:198
↓ 1 callers
Function
extract_vector_row
( array: &dyn Array, row: usize, )
benches/query.rs:433
↓ 1 callers
Method
files_with_candidates
( &self, scan: &ParquetScanInfo, context: Arc<TaskContext>, mut candidate_rows
src/df_vector/exec.rs:157
↓ 1 callers
Method
find_closest_centroids
(&self, query: &[f32], nprobe: usize)
src/ivf/index.rs:130
↓ 1 callers
Function
first_large_list_length
(list: &LargeListArray)
benches/query.rs:489
↓ 1 callers
Function
first_list_length
(list: &ListArray)
benches/query.rs:480
↓ 1 callers
Function
fixed_list_array_to_f32
(array: &FixedSizeListArray)
src/df_vector/expr.rs:36
↓ 1 callers
Function
get_embedding_at_row
( path: &std::path::Path, column_name: &str, row: usize, )
src/df_vector/tests.rs:253
↓ 1 callers
Function
has_pq_vector_index
Returns true if the parquet file contains pq-vector index metadata.
src/ivf/parquet.rs:187
↓ 1 callers
Function
hash_vector
(array: &dyn Array, row: usize)
benches/query.rs:524
↓ 1 callers
Function
index_dim
(index: &IvfIndex)
src/ivf/search.rs:150
↓ 1 callers
Function
infer_vector_column
(schema: &SchemaRef)
benches/query.rs:364
↓ 1 callers
Function
infer_vector_dim
(path: &Path, vector_column: &str)
benches/query.rs:386
↓ 1 callers
Function
is_vector_field
(field: &Field)
benches/query.rs:374
↓ 1 callers
Method
k
(mut self, k: usize)
src/ivf/search.rs:66
↓ 1 callers
Function
large_list_array_to_f32
(array: &LargeListArray)
src/df_vector/expr.rs:28
↓ 1 callers
Function
list_array_to_f32
(array: &ListArray)
src/df_vector/expr.rs:17
↓ 1 callers
Method
metrics
(&self)
src/df_vector/exec.rs:396
↓ 1 callers
Function
nearest_centroid
(vec: &[f32], centroids: &[f32], dim: usize)
src/ivf/index.rs:244
↓ 1 callers
Method
next_batch
(&mut self, batch_size: usize)
src/df_vector/access.rs:214
↓ 1 callers
Method
nprobe
(mut self, nprobe: usize)
src/ivf/search.rs:71
↓ 1 callers
Function
parallel_ranges
(len: usize, f: F)
src/ivf/index.rs:267
↓ 1 callers
Function
parse_index_metadata
( metadata: &FileMetaData, )
src/ivf/parquet.rs:120
↓ 1 callers
Function
random_query
(dim: usize, seed: u64)
benches/bench_util.rs:61
↓ 1 callers
Function
read_embeddings_for_rows
Read embeddings for specific rows using direct page reads.
src/ivf/search.rs:155
↓ 1 callers
Function
read_index_metadata
( path: &Path, )
src/ivf/parquet.rs:176
↓ 1 callers
Function
read_schema
(path: &Path)
benches/query.rs:358
next →
1–100 of 167, ranked by callers