Enum parquet::basic::LogicalType
source · pub enum LogicalType {
}
Expand description
Logical types used by version 2.4.0+ of the Parquet format.
This is an entirely new struct as of version
4.0.0. The struct previously named LogicalType
was renamed to
ConvertedType
. Please see the README.md for more details.
Variants§
String
A UTF8 encoded string.
Map
A map of key-value pairs.
List
A list of elements.
Enum
A set of predefined values.
Decimal
A decimal value with a specified scale and precision.
Fields
Date
A date stored as days since Unix epoch.
Time
A time stored as TimeUnit
since midnight.
Fields
Timestamp
A timestamp stored as TimeUnit
since Unix epoch.
Fields
Integer
An integer with a specified bit width and signedness.
Fields
Unknown
An unknown logical type.
Json
A JSON document.
Bson
A BSON document.
Uuid
A UUID.
Float16
A 16-bit floating point number.
Trait Implementations§
source§impl Clone for LogicalType
impl Clone for LogicalType
source§fn clone(&self) -> LogicalType
fn clone(&self) -> LogicalType
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 LogicalType
impl Debug for LogicalType
source§impl From<LogicalType> for LogicalType
impl From<LogicalType> for LogicalType
source§fn from(value: LogicalType) -> Self
fn from(value: LogicalType) -> Self
Converts to this type from the input type.
source§impl From<LogicalType> for LogicalType
impl From<LogicalType> for LogicalType
source§fn from(value: LogicalType) -> Self
fn from(value: LogicalType) -> Self
Converts to this type from the input type.
source§impl FromStr for LogicalType
impl FromStr for LogicalType
source§impl PartialEq for LogicalType
impl PartialEq for LogicalType
impl Eq for LogicalType
impl StructuralPartialEq for LogicalType
Auto Trait Implementations§
impl Freeze for LogicalType
impl RefUnwindSafe for LogicalType
impl Send for LogicalType
impl Sync for LogicalType
impl Unpin for LogicalType
impl UnwindSafe for LogicalType
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)