pub struct WindowAggregation {Show 15 fields
pub namespace: String,
pub group_by: Vec<FeatureReference>,
pub bucket_duration: Option<Duration>,
pub aggregation: String,
pub aggregate_on: Option<FeatureReference>,
pub arrow_type: Option<ArrowType>,
pub filters: Vec<LogicalExprNode>,
pub backfill_resolver: Option<String>,
pub backfill_lookback_duration: Option<Duration>,
pub backfill_start_time: Option<Timestamp>,
pub continuous_resolver: Option<String>,
pub continuous_buffer_duration: Option<Duration>,
pub backfill_schedule: Option<String>,
pub bucket_start: Option<Timestamp>,
pub approx_top_k_arg_k: Option<i64>,
}Fields§
§namespace: String§group_by: Vec<FeatureReference>§bucket_duration: Option<Duration>§aggregation: String§aggregate_on: Option<FeatureReference>§arrow_type: Option<ArrowType>§filters: Vec<LogicalExprNode>§backfill_resolver: Option<String>The resolver to use for back-filling the materialized aggregate. If not provided, the data will be back filled using the resolver that would run for an offline query.
backfill_lookback_duration: Option<Duration>The amount of time before the start of the previous backfill to consider when running the backfill resolver. Set this parameter to the be equal to the latest arriving data in the backfill window.
backfill_start_time: Option<Timestamp>The time at which to start back filling the materialized aggregate.
If not provided, the backfill consider the earliest available data returned
by the backfill_resolver.
continuous_resolver: Option<String>The resolver to use for continuous updates to the materialized aggregate. If not provided, the data will be updated using the resolver that would run for an online query.
continuous_buffer_duration: Option<Duration>The period for which to use the continuous resolver, instead of relying upon the last backfill. If not provided, and a continuous resolver is provided, this will be set to backfill_lookback_duration.
backfill_schedule: Option<String>A crontab or duration string to specify the schedule for back filling the materialized aggregate.
bucket_start: Option<Timestamp>The lower bound of the first bucket. All buckets are aligned to this time.
approx_top_k_arg_k: Option<i64>The ‘k’ arg of approx_top_k.
Implementations§
Source§impl WindowAggregation
impl WindowAggregation
Sourcepub fn backfill_resolver(&self) -> &str
pub fn backfill_resolver(&self) -> &str
Returns the value of backfill_resolver, or the default value if backfill_resolver is unset.
Sourcepub fn continuous_resolver(&self) -> &str
pub fn continuous_resolver(&self) -> &str
Returns the value of continuous_resolver, or the default value if continuous_resolver is unset.
Sourcepub fn backfill_schedule(&self) -> &str
pub fn backfill_schedule(&self) -> &str
Returns the value of backfill_schedule, or the default value if backfill_schedule is unset.
Sourcepub fn approx_top_k_arg_k(&self) -> i64
pub fn approx_top_k_arg_k(&self) -> i64
Returns the value of approx_top_k_arg_k, or the default value if approx_top_k_arg_k is unset.
Trait Implementations§
Source§impl Clone for WindowAggregation
impl Clone for WindowAggregation
Source§fn clone(&self) -> WindowAggregation
fn clone(&self) -> WindowAggregation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WindowAggregation
impl Debug for WindowAggregation
Source§impl Default for WindowAggregation
impl Default for WindowAggregation
Source§impl Message for WindowAggregation
impl Message for WindowAggregation
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 WindowAggregation
impl PartialEq for WindowAggregation
impl StructuralPartialEq for WindowAggregation
Auto Trait Implementations§
impl Freeze for WindowAggregation
impl RefUnwindSafe for WindowAggregation
impl Send for WindowAggregation
impl Sync for WindowAggregation
impl Unpin for WindowAggregation
impl UnsafeUnpin for WindowAggregation
impl UnwindSafe for WindowAggregation
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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