Enum google_api_proto::google::cloud::bigquery::v2::materialized_view::RejectedReason
source · #[repr(i32)]pub enum RejectedReason {
Unspecified = 0,
NoData = 1,
Cost = 2,
BaseTableTruncated = 3,
BaseTableDataChange = 4,
BaseTablePartitionExpirationChange = 5,
BaseTableExpiredPartition = 6,
BaseTableIncompatibleMetadataChange = 7,
TimeZone = 8,
OutOfTimeTravelWindow = 9,
BaseTableFineGrainedSecurityPolicy = 10,
BaseTableTooStale = 11,
}
Expand description
Reason why a materialized view was not chosen for a query. For more information, see Understand why materialized views were rejected.
Variants§
Unspecified = 0
Default unspecified value.
NoData = 1
View has no cached data because it has not refreshed yet.
Cost = 2
The estimated cost of the view is more expensive than another view or the base table.
Note: The estimate cost might not match the billed cost.
BaseTableTruncated = 3
View has no cached data because a base table is truncated.
BaseTableDataChange = 4
View is invalidated because of a data change in one or more base tables.
It could be any recent change if the
max_staleness
option is not set for the view, or otherwise any change outside of the
staleness window.
BaseTablePartitionExpirationChange = 5
View is invalidated because a base table’s partition expiration has changed.
BaseTableExpiredPartition = 6
View is invalidated because a base table’s partition has expired.
BaseTableIncompatibleMetadataChange = 7
View is invalidated because a base table has an incompatible metadata change.
TimeZone = 8
View is invalidated because it was refreshed with a time zone other than that of the current job.
OutOfTimeTravelWindow = 9
View is outside the time travel window.
BaseTableFineGrainedSecurityPolicy = 10
View is inaccessible to the user because of a fine-grained security policy on one of its base tables.
BaseTableTooStale = 11
One of the view’s base tables is too stale. For example, the cached metadata of a BigLake external table needs to be updated.
Implementations§
source§impl RejectedReason
impl RejectedReason
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 RejectedReason
impl Clone for RejectedReason
source§fn clone(&self) -> RejectedReason
fn clone(&self) -> RejectedReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RejectedReason
impl Debug for RejectedReason
source§impl Default for RejectedReason
impl Default for RejectedReason
source§fn default() -> RejectedReason
fn default() -> RejectedReason
source§impl From<RejectedReason> for i32
impl From<RejectedReason> for i32
source§fn from(value: RejectedReason) -> i32
fn from(value: RejectedReason) -> i32
source§impl Hash for RejectedReason
impl Hash for RejectedReason
source§impl Ord for RejectedReason
impl Ord for RejectedReason
source§fn cmp(&self, other: &RejectedReason) -> Ordering
fn cmp(&self, other: &RejectedReason) -> 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 RejectedReason
impl PartialEq for RejectedReason
source§fn eq(&self, other: &RejectedReason) -> bool
fn eq(&self, other: &RejectedReason) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RejectedReason
impl PartialOrd for RejectedReason
source§fn partial_cmp(&self, other: &RejectedReason) -> Option<Ordering>
fn partial_cmp(&self, other: &RejectedReason) -> 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 RejectedReason
impl TryFrom<i32> for RejectedReason
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<RejectedReason, UnknownEnumValue>
fn try_from(value: i32) -> Result<RejectedReason, UnknownEnumValue>
impl Copy for RejectedReason
impl Eq for RejectedReason
impl StructuralPartialEq for RejectedReason
Auto Trait Implementations§
impl Freeze for RejectedReason
impl RefUnwindSafe for RejectedReason
impl Send for RejectedReason
impl Sync for RejectedReason
impl Unpin for RejectedReason
impl UnwindSafe for RejectedReason
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