pub struct VectorStoragePolicy {
pub column_name: String,
pub dim: u32,
pub metric: VectorMetric,
pub precision: VectorPrecision,
pub pq: Option<PQConfig>,
pub keep_raw_for_reranking: bool,
}Expand description
Vector storage configuration applied at table creation time. Stored in Iceberg metadata.json properties.
Fields§
§column_name: String§dim: u32§metric: VectorMetric§precision: VectorPrecision§pq: Option<PQConfig>§keep_raw_for_reranking: boolImplementations§
Source§impl VectorStoragePolicy
impl VectorStoragePolicy
pub fn default_f16(column: &str, dim: u32, metric: VectorMetric) -> Self
Trait Implementations§
Source§impl Clone for VectorStoragePolicy
impl Clone for VectorStoragePolicy
Source§fn clone(&self) -> VectorStoragePolicy
fn clone(&self) -> VectorStoragePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorStoragePolicy
impl Debug for VectorStoragePolicy
Source§impl<'de> Deserialize<'de> for VectorStoragePolicy
impl<'de> Deserialize<'de> for VectorStoragePolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VectorStoragePolicy
impl RefUnwindSafe for VectorStoragePolicy
impl Send for VectorStoragePolicy
impl Sync for VectorStoragePolicy
impl Unpin for VectorStoragePolicy
impl UnsafeUnpin for VectorStoragePolicy
impl UnwindSafe for VectorStoragePolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more