pub struct FieldNode {
pub length: i64,
pub null_count: i64,
}Expand description
Data structures for describing a table row batch (a collection of equal-length Arrow arrays) Metadata about a field at some level of a nested type tree (but not its children).
For example, a List[[1, 2, 3], null, [4], [5, 6], null]
would have {length: 5, null_count: 2} for its List node, and {length: 6,
null_count: 0} for its Int16 node, as separate FieldNode structs
Generated from these locations:
- Struct
FieldNodein the fileMessage.fbs:34
Fields§
§length: i64The number of value slots in the Arrow array at this level of a nested tree
null_count: i64The number of observed nulls. Fields with null_count == 0 may choose not to write their physical validity bitmap out as a materialized buffer, instead setting the length of the bitmap buffer to 0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldNode
impl<'de> Deserialize<'de> for FieldNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<'a> From<FieldNodeRef<'a>> for FieldNode
impl<'a> From<FieldNodeRef<'a>> for FieldNode
Source§fn from(value: FieldNodeRef<'a>) -> Self
fn from(value: FieldNodeRef<'a>) -> Self
Source§impl Ord for FieldNode
impl Ord for FieldNode
Source§impl PartialOrd for FieldNode
impl PartialOrd for FieldNode
impl Copy for FieldNode
impl Eq for FieldNode
impl StructuralPartialEq for FieldNode
impl VectorWrite<FieldNode> for FieldNode
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<FieldNode> for FieldNode
impl WriteAsOffset<FieldNode> for FieldNode
impl WriteAsOptional<FieldNode> for FieldNode
Auto Trait Implementations§
impl Freeze for FieldNode
impl RefUnwindSafe for FieldNode
impl Send for FieldNode
impl Sync for FieldNode
impl Unpin for FieldNode
impl UnwindSafe for FieldNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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>
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>
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