#[non_exhaustive]pub struct SelectTimeRangeAndFeature {
pub time_range: Option<Interval>,
pub feature_selector: Option<FeatureSelector>,
pub skip_online_storage_delete: bool,
/* private fields */
}Expand description
Message to select time range and feature. Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.time_range: Option<Interval>Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.
feature_selector: Option<FeatureSelector>Required. Selectors choosing which feature values to be deleted from the EntityType.
skip_online_storage_delete: boolIf set, data will not be deleted from online storage. When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.
Implementations§
Source§impl SelectTimeRangeAndFeature
impl SelectTimeRangeAndFeature
pub fn new() -> Self
Sourcepub fn set_time_range<T: Into<Option<Interval>>>(self, v: T) -> Self
pub fn set_time_range<T: Into<Option<Interval>>>(self, v: T) -> Self
Sets the value of time_range.
Sourcepub fn set_feature_selector<T: Into<Option<FeatureSelector>>>(
self,
v: T,
) -> Self
pub fn set_feature_selector<T: Into<Option<FeatureSelector>>>( self, v: T, ) -> Self
Sets the value of feature_selector.
Sourcepub fn set_skip_online_storage_delete<T: Into<bool>>(self, v: T) -> Self
pub fn set_skip_online_storage_delete<T: Into<bool>>(self, v: T) -> Self
Sets the value of skip_online_storage_delete.
Trait Implementations§
Source§impl Clone for SelectTimeRangeAndFeature
impl Clone for SelectTimeRangeAndFeature
Source§fn clone(&self) -> SelectTimeRangeAndFeature
fn clone(&self) -> SelectTimeRangeAndFeature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more