Struct aws_sdk_timestreamquery::types::builders::DatumBuilder
source · #[non_exhaustive]pub struct DatumBuilder { /* private fields */ }
Expand description
A builder for Datum
.
Implementations§
source§impl DatumBuilder
impl DatumBuilder
sourcepub fn scalar_value(self, input: impl Into<String>) -> Self
pub fn scalar_value(self, input: impl Into<String>) -> Self
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn set_scalar_value(self, input: Option<String>) -> Self
pub fn set_scalar_value(self, input: Option<String>) -> Self
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn get_scalar_value(&self) -> &Option<String>
pub fn get_scalar_value(&self) -> &Option<String>
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
sourcepub fn time_series_value(self, input: TimeSeriesDataPoint) -> Self
pub fn time_series_value(self, input: TimeSeriesDataPoint) -> Self
Appends an item to time_series_value
.
To override the contents of this collection use set_time_series_value
.
Indicates if the data point is a timeseries data type.
sourcepub fn set_time_series_value(
self,
input: Option<Vec<TimeSeriesDataPoint>>
) -> Self
pub fn set_time_series_value( self, input: Option<Vec<TimeSeriesDataPoint>> ) -> Self
Indicates if the data point is a timeseries data type.
sourcepub fn get_time_series_value(&self) -> &Option<Vec<TimeSeriesDataPoint>>
pub fn get_time_series_value(&self) -> &Option<Vec<TimeSeriesDataPoint>>
Indicates if the data point is a timeseries data type.
sourcepub fn array_value(self, input: Datum) -> Self
pub fn array_value(self, input: Datum) -> Self
Appends an item to array_value
.
To override the contents of this collection use set_array_value
.
Indicates if the data point is an array.
sourcepub fn set_array_value(self, input: Option<Vec<Datum>>) -> Self
pub fn set_array_value(self, input: Option<Vec<Datum>>) -> Self
Indicates if the data point is an array.
sourcepub fn get_array_value(&self) -> &Option<Vec<Datum>>
pub fn get_array_value(&self) -> &Option<Vec<Datum>>
Indicates if the data point is an array.
sourcepub fn set_row_value(self, input: Option<Row>) -> Self
pub fn set_row_value(self, input: Option<Row>) -> Self
Indicates if the data point is a row.
sourcepub fn get_row_value(&self) -> &Option<Row>
pub fn get_row_value(&self) -> &Option<Row>
Indicates if the data point is a row.
sourcepub fn null_value(self, input: bool) -> Self
pub fn null_value(self, input: bool) -> Self
Indicates if the data point is null.
sourcepub fn set_null_value(self, input: Option<bool>) -> Self
pub fn set_null_value(self, input: Option<bool>) -> Self
Indicates if the data point is null.
sourcepub fn get_null_value(&self) -> &Option<bool>
pub fn get_null_value(&self) -> &Option<bool>
Indicates if the data point is null.
Trait Implementations§
source§impl Clone for DatumBuilder
impl Clone for DatumBuilder
source§fn clone(&self) -> DatumBuilder
fn clone(&self) -> DatumBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatumBuilder
impl Debug for DatumBuilder
source§impl Default for DatumBuilder
impl Default for DatumBuilder
source§fn default() -> DatumBuilder
fn default() -> DatumBuilder
source§impl PartialEq<DatumBuilder> for DatumBuilder
impl PartialEq<DatumBuilder> for DatumBuilder
source§fn eq(&self, other: &DatumBuilder) -> bool
fn eq(&self, other: &DatumBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.