Struct google_api_proto::google::cloud::bigquery::v2::BigtableColumn
source · pub struct BigtableColumn {
pub qualifier_encoded: Option<Vec<u8>>,
pub qualifier_string: Option<String>,
pub field_name: String,
pub type: String,
pub encoding: String,
pub only_read_latest: Option<bool>,
}
Expand description
Information related to a Bigtable column.
Fields§
§qualifier_encoded: Option<Vec<u8>>
[Required] Qualifier of the column.
Columns in the parent column family that has this exact qualifier are
exposed as <family field name>.<column field name>
field.
If the qualifier is valid UTF-8 string, it can be specified in the
qualifier_string field. Otherwise, a base-64 encoded value must be set to
qualifier_encoded.
The column field name is the same as the column qualifier. However, if the
qualifier is not a valid BigQuery field identifier i.e. does not match
[a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as field_name.
qualifier_string: Option<String>
Qualifier string.
field_name: String
Optional. If the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as the column field name and is used as field name in queries.
type: String
Optional. The type to convert the value in cells of this column. 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. ‘type’ can also be set at the column family level. However, the setting at this level takes precedence if ‘type’ is set at both levels.
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. ‘encoding’ can also be set at the column family level. However, the setting at this level takes precedence if ‘encoding’ is set at both levels.
only_read_latest: Option<bool>
Optional. If this is set, only the latest version of value in this column are exposed. ‘onlyReadLatest’ can also be set at the column family level. However, the setting at this level takes precedence if ‘onlyReadLatest’ is set at both levels.
Trait Implementations§
source§impl Clone for BigtableColumn
impl Clone for BigtableColumn
source§fn clone(&self) -> BigtableColumn
fn clone(&self) -> BigtableColumn
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BigtableColumn
impl Debug for BigtableColumn
source§impl Default for BigtableColumn
impl Default for BigtableColumn
source§impl Message for BigtableColumn
impl Message for BigtableColumn
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 BigtableColumn
impl PartialEq for BigtableColumn
source§fn eq(&self, other: &BigtableColumn) -> bool
fn eq(&self, other: &BigtableColumn) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BigtableColumn
Auto Trait Implementations§
impl Freeze for BigtableColumn
impl RefUnwindSafe for BigtableColumn
impl Send for BigtableColumn
impl Sync for BigtableColumn
impl Unpin for BigtableColumn
impl UnwindSafe for BigtableColumn
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