pub struct DFUuid(/* private fields */);Expand description
Defines the extension type logic for the canonical arrow.uuid extension type. This extension
type defines that a field should be interpreted as a
UUID.
See DFExtensionType for information on DataFusion’s extension type mechanism. See also
Uuid for the implementation of arrow-rs, which this type uses internally.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#uuid
Implementations§
Trait Implementations§
Source§impl DFExtensionType for DFUuid
impl DFExtensionType for DFUuid
Source§fn storage_type(&self) -> DataType
fn storage_type(&self) -> DataType
Returns the underlying storage type.
Source§fn serialize_metadata(&self) -> Option<String>
fn serialize_metadata(&self) -> Option<String>
Returns the serialized metadata.
Source§fn create_array_formatter<'fmt>(
&self,
array: &'fmt dyn Array,
options: &FormatOptions<'fmt>,
) -> Result<Option<ArrayFormatter<'fmt>>>
fn create_array_formatter<'fmt>( &self, array: &'fmt dyn Array, options: &FormatOptions<'fmt>, ) -> Result<Option<ArrayFormatter<'fmt>>>
Returns an
ArrayFormatter that can format values of this type. Read moreAuto Trait Implementations§
impl Freeze for DFUuid
impl RefUnwindSafe for DFUuid
impl Send for DFUuid
impl Sync for DFUuid
impl Unpin for DFUuid
impl UnsafeUnpin for DFUuid
impl UnwindSafe for DFUuid
Blanket Implementations§
impl<T> Allocation for T
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