Struct google_api_proto::google::cloud::bigquery::v2::BigtableColumnFamily
source · pub struct BigtableColumnFamily {
pub family_id: String,
pub type: String,
pub encoding: String,
pub columns: Vec<BigtableColumn>,
pub only_read_latest: Option<bool>,
}
Expand description
Information related to a Bigtable column family.
Fields§
§family_id: String
Identifier of the column family.
type: String
Optional. The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive):
- BYTES
- STRING
- INTEGER
- FLOAT
- BOOLEAN
- JSON
Default type is BYTES. This can be overridden for a specific column by listing that column in ‘columns’ and specifying a type for it.
encoding: String
Optional. The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in ‘columns’ and specifying an encoding for it.
columns: Vec<BigtableColumn>
Optional. Lists of columns that should be exposed as individual fields as
opposed to a list of (column name, value) pairs.
All columns whose qualifier matches a qualifier in this list can be
accessed as <family field name>.<column field name>
.
Other columns can be accessed as a list through
the <family field name>.Column
field.
only_read_latest: Option<bool>
Optional. If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in ‘columns’ and specifying a different setting for that column.
Trait Implementations§
source§impl Clone for BigtableColumnFamily
impl Clone for BigtableColumnFamily
source§fn clone(&self) -> BigtableColumnFamily
fn clone(&self) -> BigtableColumnFamily
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BigtableColumnFamily
impl Debug for BigtableColumnFamily
source§impl Default for BigtableColumnFamily
impl Default for BigtableColumnFamily
source§impl Message for BigtableColumnFamily
impl Message for BigtableColumnFamily
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BigtableColumnFamily
impl PartialEq for BigtableColumnFamily
source§fn eq(&self, other: &BigtableColumnFamily) -> bool
fn eq(&self, other: &BigtableColumnFamily) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BigtableColumnFamily
Auto Trait Implementations§
impl Freeze for BigtableColumnFamily
impl RefUnwindSafe for BigtableColumnFamily
impl Send for BigtableColumnFamily
impl Sync for BigtableColumnFamily
impl Unpin for BigtableColumnFamily
impl UnwindSafe for BigtableColumnFamily
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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