#[repr(i16)]pub enum MetadataVersion {
V1 = 0,
V2 = 1,
V3 = 2,
V4 = 3,
V5 = 4,
}Expand description
The enum MetadataVersion in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Enum
MetadataVersionin the fileSchema.fbs:31
Variants§
V1 = 0
0.1.0 (October 2016).
V2 = 1
0.2.0 (February 2017). Non-backwards compatible with V1.
V3 = 2
0.3.0 -> 0.7.1 (May - December 2017). Non-backwards compatible with V2.
V4 = 3
= 0.8.0 (December 2017). Non-backwards compatible with V3.
V5 = 4
= 1.0.0 (July 2020). Backwards compatible with V4 (V5 readers can read V4 metadata and IPC messages). Implementations are recommended to provide a V4 compatibility mode with V5 format changes disabled.
Incompatible changes between V4 and V5:
- Union buffer layout has changed. In V5, Unions don’t have a validity bitmap buffer.
Implementations§
Source§impl MetadataVersion
impl MetadataVersion
Sourcepub const ENUM_VALUES: [Self; 5]
pub const ENUM_VALUES: [Self; 5]
Array containing all valid variants of MetadataVersion
Trait Implementations§
Source§impl Clone for MetadataVersion
impl Clone for MetadataVersion
Source§fn clone(&self) -> MetadataVersion
fn clone(&self) -> MetadataVersion
Returns a copy of the value. Read more
1.0.0 · 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 MetadataVersion
impl Debug for MetadataVersion
Source§impl<'de> Deserialize<'de> for MetadataVersion
impl<'de> Deserialize<'de> for MetadataVersion
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
Source§impl From<MetadataVersion> for i16
impl From<MetadataVersion> for i16
Source§fn from(value: MetadataVersion) -> Self
fn from(value: MetadataVersion) -> Self
Converts to this type from the input type.
Source§impl Hash for MetadataVersion
impl Hash for MetadataVersion
Source§impl Ord for MetadataVersion
impl Ord for MetadataVersion
Source§fn cmp(&self, other: &MetadataVersion) -> Ordering
fn cmp(&self, other: &MetadataVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MetadataVersion
impl PartialEq for MetadataVersion
Source§impl PartialOrd for MetadataVersion
impl PartialOrd for MetadataVersion
Source§impl Serialize for MetadataVersion
impl Serialize for MetadataVersion
Source§impl TryFrom<i16> for MetadataVersion
impl TryFrom<i16> for MetadataVersion
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for MetadataVersion
impl Eq for MetadataVersion
impl StructuralPartialEq for MetadataVersion
impl VectorWrite<MetadataVersion> for MetadataVersion
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<MetadataVersion> for MetadataVersion
impl WriteAsDefault<MetadataVersion, MetadataVersion> for MetadataVersion
impl WriteAsOptional<MetadataVersion> for MetadataVersion
Auto Trait Implementations§
impl Freeze for MetadataVersion
impl RefUnwindSafe for MetadataVersion
impl Send for MetadataVersion
impl Sync for MetadataVersion
impl Unpin for MetadataVersion
impl UnwindSafe for MetadataVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more