pub struct DFJson { /* private fields */ }Expand description
Defines the extension type logic for the canonical arrow.json extension type. This extension
type defines that a particular string field stores JSON values.
See DFExtensionType for information on DataFusion’s extension type mechanism. See also
Json for the implementation of arrow-rs, which this type uses internally.
https://arrow.apache.org/docs/format/CanonicalExtensions.html#json
Implementations§
Trait Implementations§
Source§impl DFExtensionType for DFJson
impl DFExtensionType for DFJson
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 display_name(&self) -> Option<Cow<'_, str>>
fn display_name(&self) -> Option<Cow<'_, str>>
Returns the type’s presentation label for schema introspection, such as
DESCRIBE, SHOW COLUMNS and information_schema.columns. Read moreSource§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 Forget for DFJson
impl Freeze for DFJson
impl Move for DFJson
impl RefUnwindSafe for DFJson
impl Send for DFJson
impl Sync for DFJson
impl Unpin for DFJson
impl UnsafeUnpin for DFJson
impl UnwindSafe for DFJson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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