pub struct RefreshPolicy {
pub policy_type: Option<String>,
pub source_expression: Option<String>,
pub change_detection: Option<String>,
}Expand description
A table’s incremental refresh policy (TMDL refreshPolicy / TOM refreshPolicy).
Only the expressions are modeled. The policy’s ranges, periods, and offsets
cannot consume a model object, so they are skipped as Tier-1 metadata — but
both expression properties are evaluated at refresh time, where deleting
what they reference breaks refresh (see crate::m and
DaxExpressionKind::ChangeDetection).
Fields§
§policy_type: Option<String>Policy type as written (TOM policyType, e.g. basicRefreshPolicy).
Diagnostics only.
source_expression: Option<String>The policy’s source expression (TOM sourceExpression): the M query new policy-range partitions are created from, filtered by the RangeStart/RangeEnd parameters.
change_detection: Option<String>The change-detection expression (TOM pollingExpression): evaluated per partition at refresh time to decide whether the partition has new data.
Trait Implementations§
Source§impl Clone for RefreshPolicy
impl Clone for RefreshPolicy
Source§fn clone(&self) -> RefreshPolicy
fn clone(&self) -> RefreshPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RefreshPolicy
impl Debug for RefreshPolicy
Source§impl Default for RefreshPolicy
impl Default for RefreshPolicy
Source§fn default() -> RefreshPolicy
fn default() -> RefreshPolicy
impl Eq for RefreshPolicy
Source§impl PartialEq for RefreshPolicy
impl PartialEq for RefreshPolicy
impl StructuralPartialEq for RefreshPolicy
Auto Trait Implementations§
impl Freeze for RefreshPolicy
impl RefUnwindSafe for RefreshPolicy
impl Send for RefreshPolicy
impl Sync for RefreshPolicy
impl Unpin for RefreshPolicy
impl UnsafeUnpin for RefreshPolicy
impl UnwindSafe for RefreshPolicy
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.