Struct google_cloud_bigquery::storage::array::NullBuilder
pub struct NullBuilder { /* private fields */ }Expand description
Implementations§
§impl NullBuilder
impl NullBuilder
pub fn new() -> NullBuilder
pub fn new() -> NullBuilder
Creates a new null builder
pub fn with_capacity(capacity: usize) -> NullBuilder
pub fn with_capacity(capacity: usize) -> NullBuilder
Creates a new null builder with space for capacity elements without re-allocating
pub fn append_null(&mut self)
pub fn append_null(&mut self)
Appends a null slot into the builder
pub fn append_nulls(&mut self, n: usize)
pub fn append_nulls(&mut self, n: usize)
Appends n nulls into the builder.
pub fn append_empty_value(&mut self)
pub fn append_empty_value(&mut self)
Appends a null slot into the builder
pub fn append_empty_values(&mut self, n: usize)
pub fn append_empty_values(&mut self, n: usize)
Appends n nulls into the builder.
pub fn finish_cloned(&self) -> NullArray
pub fn finish_cloned(&self) -> NullArray
Builds the NullArray without resetting the builder.
Trait Implementations§
§impl ArrayBuilder for NullBuilder
impl ArrayBuilder for NullBuilder
§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Returns the builder as a mutable Any reference.
§fn into_box_any(self: Box<NullBuilder, Global>) -> Box<dyn Any, Global>
fn into_box_any(self: Box<NullBuilder, Global>) -> Box<dyn Any, Global>
Returns the boxed builder as a box of Any.
§fn finish_cloned(&self) -> Arc<dyn Array, Global>
fn finish_cloned(&self) -> Arc<dyn Array, Global>
Builds the array without resetting the builder.
§impl Debug for NullBuilder
impl Debug for NullBuilder
§impl Default for NullBuilder
impl Default for NullBuilder
§fn default() -> NullBuilder
fn default() -> NullBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NullBuilder
impl Send for NullBuilder
impl Sync for NullBuilder
impl Unpin for NullBuilder
impl UnwindSafe for NullBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request