Struct arrow::ipc::gen::Schema::Schema [−][src]
pub struct Schema<'a> { pub _tab: Table<'a>, }
Expand description
A Schema describes the columns in a row batch
Fields
_tab: Table<'a>
Implementations
impl<'a> Schema<'a>
[src]
impl<'a> Schema<'a>
[src]pub fn init_from_table(table: Table<'a>) -> Self
[src]
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args SchemaArgs<'args>
) -> WIPOffset<Schema<'bldr>>
[src]
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args SchemaArgs<'args>
) -> WIPOffset<Schema<'bldr>>
pub const VT_ENDIANNESS: VOffsetT
[src]
pub const VT_FIELDS: VOffsetT
[src]
pub const VT_CUSTOM_METADATA: VOffsetT
[src]
pub const VT_FEATURES: VOffsetT
[src]
pub fn endianness(&self) -> Endianness
[src]
pub fn endianness(&self) -> Endianness
[src]endianness of the buffer it is Little Endian by default if endianness doesn’t match the underlying system then the vectors need to be converted
pub fn fields(&self) -> Option<Vector<'a, ForwardsUOffset<Field<'a>>>>
[src]
pub fn custom_metadata(
&self
) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
[src]
&self
) -> Option<Vector<'a, ForwardsUOffset<KeyValue<'a>>>>
Trait Implementations
impl Verifiable for Schema<'_>
[src]
impl Verifiable for Schema<'_>
[src]fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]
fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
impl<'a> Copy for Schema<'a>
[src]
impl<'a> StructuralPartialEq for Schema<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Schema<'a>
impl<'a> Send for Schema<'a>
impl<'a> Sync for Schema<'a>
impl<'a> Unpin for Schema<'a>
impl<'a> UnwindSafe for Schema<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,