#[repr(i32)]pub enum TableMetadataView {
Unspecified = 0,
Basic = 1,
StorageStats = 2,
Full = 3,
}
Expand description
TableMetadataView specifies which table information is returned.
Variants§
Unspecified = 0
The default value. Default to the STORAGE_STATS view.
Basic = 1
Includes basic table information including schema and partitioning specification. This view does not include storage statistics such as numRows or numBytes. This view is significantly more efficient and should be used to support high query rates.
StorageStats = 2
Includes all information in the BASIC view as well as storage statistics (numBytes, numLongTermBytes, numRows and lastModifiedTime).
Full = 3
Includes all table information, including storage statistics. It returns same information as STORAGE_STATS view, but may contain additional information in the future.
Implementations§
source§impl TableMetadataView
impl TableMetadataView
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for TableMetadataView
impl Clone for TableMetadataView
source§fn clone(&self) -> TableMetadataView
fn clone(&self) -> TableMetadataView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableMetadataView
impl Debug for TableMetadataView
source§impl Default for TableMetadataView
impl Default for TableMetadataView
source§fn default() -> TableMetadataView
fn default() -> TableMetadataView
source§impl From<TableMetadataView> for i32
impl From<TableMetadataView> for i32
source§fn from(value: TableMetadataView) -> i32
fn from(value: TableMetadataView) -> i32
source§impl Hash for TableMetadataView
impl Hash for TableMetadataView
source§impl Ord for TableMetadataView
impl Ord for TableMetadataView
source§fn cmp(&self, other: &TableMetadataView) -> Ordering
fn cmp(&self, other: &TableMetadataView) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for TableMetadataView
impl PartialEq for TableMetadataView
source§fn eq(&self, other: &TableMetadataView) -> bool
fn eq(&self, other: &TableMetadataView) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TableMetadataView
impl PartialOrd for TableMetadataView
source§fn partial_cmp(&self, other: &TableMetadataView) -> Option<Ordering>
fn partial_cmp(&self, other: &TableMetadataView) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for TableMetadataView
impl TryFrom<i32> for TableMetadataView
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<TableMetadataView, UnknownEnumValue>
fn try_from(value: i32) -> Result<TableMetadataView, UnknownEnumValue>
impl Copy for TableMetadataView
impl Eq for TableMetadataView
impl StructuralPartialEq for TableMetadataView
Auto Trait Implementations§
impl Freeze for TableMetadataView
impl RefUnwindSafe for TableMetadataView
impl Send for TableMetadataView
impl Sync for TableMetadataView
impl Unpin for TableMetadataView
impl UnwindSafe for TableMetadataView
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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