pub struct IndexContent {Show 13 fields
pub index_name: String,
pub index_uuid: String,
pub columns: Vec<String>,
pub status: String,
pub index_type: Option<String>,
pub type_url: Option<String>,
pub num_indexed_rows: Option<i64>,
pub num_unindexed_rows: Option<i64>,
pub size_bytes: Option<i64>,
pub num_segments: Option<i32>,
pub created_at: Option<String>,
pub index_version: Option<i32>,
pub index_details: Option<String>,
}Fields§
§index_name: StringName of the index
index_uuid: StringUnique identifier for the index
columns: Vec<String>Canonical Lance field paths covered by this index. Nested fields use dot-separated segments; segments containing literal dots are backtick-quoted, and backticks inside quoted segments are doubled.
status: StringCurrent status of the index
index_type: Option<String>Friendly index type, e.g. IVF_PQ, BTREE. Unknown if no plugin recognizes the index.
type_url: Option<String>Protobuf type URL, a precise type identifier for the index.
num_indexed_rows: Option<i64>Number of live rows covered by the index. This does not count rows that are in the index but have since been deleted.
num_unindexed_rows: Option<i64>Number of rows that are not indexed.
size_bytes: Option<i64>Total index size in bytes across all segments. Null for indices predating file-size tracking.
num_segments: Option<i32>Number of index deltas/segments.
created_at: Option<String>Creation time for indexes. Null for legacy indices.
index_version: Option<i32>On-disk index format version.
index_details: Option<String>Opaque, type-specific JSON with additional index details. For vector indices this carries metric/distance type, partitioning, and HNSW/PQ/SQ/RQ parameters.
Implementations§
Trait Implementations§
Source§impl Clone for IndexContent
impl Clone for IndexContent
Source§fn clone(&self) -> IndexContent
fn clone(&self) -> IndexContent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IndexContent
impl Debug for IndexContent
Source§impl Default for IndexContent
impl Default for IndexContent
Source§fn default() -> IndexContent
fn default() -> IndexContent
Source§impl<'de> Deserialize<'de> for IndexContent
impl<'de> Deserialize<'de> for IndexContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for IndexContent
impl PartialEq for IndexContent
Source§fn eq(&self, other: &IndexContent) -> bool
fn eq(&self, other: &IndexContent) -> bool
self and other values to be equal, and is used by ==.