pub struct CreateTableVersionEntry {
pub id: Vec<String>,
pub version: i64,
pub branch: Option<String>,
pub manifest_path: String,
pub manifest_size: Option<i64>,
pub e_tag: Option<String>,
pub metadata: Option<HashMap<String, String>>,
pub naming_scheme: Option<String>,
}Expand description
CreateTableVersionEntry : An entry for creating a new table version in a batch operation. This supports put_if_not_exists semantics, where the operation fails if the version already exists.
Fields§
§id: Vec<String>The table identifier
version: i64Version number to create
branch: Option<String>Branch to target. When not specified, the main branch is used.
manifest_path: StringPath to the manifest file for this version
manifest_size: Option<i64>Size of the manifest file in bytes
e_tag: Option<String>Optional ETag for the manifest file
metadata: Option<HashMap<String, String>>Optional metadata for the version
naming_scheme: Option<String>The naming scheme used for manifest files in the _versions/ directory. Known values: - V1: _versions/{version}.manifest - Simple version-based naming - V2: _versions/{inverted_version}.manifest - Zero-padded, reversed version number (uses u64::MAX - version) for O(1) lookup of latest version on object stores V2 is preferred for new tables as it enables efficient latest-version discovery without needing to list all versions.
Implementations§
Trait Implementations§
Source§impl Clone for CreateTableVersionEntry
impl Clone for CreateTableVersionEntry
Source§fn clone(&self) -> CreateTableVersionEntry
fn clone(&self) -> CreateTableVersionEntry
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 CreateTableVersionEntry
impl Debug for CreateTableVersionEntry
Source§impl Default for CreateTableVersionEntry
impl Default for CreateTableVersionEntry
Source§fn default() -> CreateTableVersionEntry
fn default() -> CreateTableVersionEntry
Source§impl<'de> Deserialize<'de> for CreateTableVersionEntry
impl<'de> Deserialize<'de> for CreateTableVersionEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateTableVersionEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateTableVersionEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CreateTableVersionEntry
impl PartialEq for CreateTableVersionEntry
Source§fn eq(&self, other: &CreateTableVersionEntry) -> bool
fn eq(&self, other: &CreateTableVersionEntry) -> bool
self and other values to be equal, and is used by ==.