pub struct BigtableOptions {
pub column_families: Option<Vec<BigtableColumnFamily>>,
pub ignore_unspecified_column_families: Option<bool>,
pub read_rowkey_as_string: Option<bool>,
}
Fields§
§column_families: Option<Vec<BigtableColumnFamily>>
[Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the ‘type’ field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
ignore_unspecified_column_families: Option<bool>
[Optional] If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, they are read with BYTES type values. The default value is false.
read_rowkey_as_string: Option<bool>
[Optional] If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and users need to manually cast them with CAST if necessary. The default value is false.
Trait Implementations§
Source§impl Clone for BigtableOptions
impl Clone for BigtableOptions
Source§fn clone(&self) -> BigtableOptions
fn clone(&self) -> BigtableOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BigtableOptions
impl Debug for BigtableOptions
Source§impl Default for BigtableOptions
impl Default for BigtableOptions
Source§fn default() -> BigtableOptions
fn default() -> BigtableOptions
Source§impl<'de> Deserialize<'de> for BigtableOptions
impl<'de> Deserialize<'de> for BigtableOptions
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>,
Auto Trait Implementations§
impl Freeze for BigtableOptions
impl RefUnwindSafe for BigtableOptions
impl Send for BigtableOptions
impl Sync for BigtableOptions
impl Unpin for BigtableOptions
impl UnwindSafe for BigtableOptions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
T
in a tonic::Request