Trait vortex_array::ArrayMetadata

source ·
pub trait ArrayMetadata:
    'static
    + Send
    + Sync
    + Debug
    + TrySerializeArrayMetadata
    + Display {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>;
}
Expand description

Dynamic trait used to represent opaque owned Array metadata

Note that this allows us to restrict the (’static + Send + Sync) requirement to just the metadata trait, and not the entire array trait. We require ’static so that we can downcast use the Any trait.

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

Implementors§

source§

impl ArrayMetadata for BoolMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for ChunkedMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for ConstantMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for ExtensionMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for ListMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for NullMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for PrimitiveMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for SparseMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for StructMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for VarBinMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for VarBinViewMetadata

Implement ArrayMetadata

source§

impl ArrayMetadata for OpaqueMetadata