pub struct AttributeConfig {
pub input_semantics: InputSemantics,
pub trace_slack: Option<Time>,
pub index_direction: IndexDirection,
pub query_support: QuerySupport,
pub timeless: bool,
}Expand description
Per-attribute semantics.
Fields§
§input_semantics: InputSemanticsModifiers to apply on attribute inputs, such as keeping only the most recent value per eid, or compare-and-swap.
trace_slack: Option<Time>How close indexed traces should follow the computation frontier.
index_direction: IndexDirectionIndex directions to maintain for this attribute.
query_support: QuerySupportQuery capabilities supported by this attribute.
timeless: boolDoes this attribute care about its respective time dimension? Timeless attributes do not have an influence on the overall progress in the system.
Implementations§
Source§impl AttributeConfig
impl AttributeConfig
Sourcepub fn tx_time(input_semantics: InputSemantics) -> Self
pub fn tx_time(input_semantics: InputSemantics) -> Self
Shortcut to specifying an attribute that will live in some transaction time domain and always compact up to the computation frontier.
Sourcepub fn real_time(input_semantics: InputSemantics) -> Self
pub fn real_time(input_semantics: InputSemantics) -> Self
Shortcut to specifying an attribute that will live in some real-time domain and always compact up to the computation frontier.
Sourcepub fn uncompacted(input_semantics: InputSemantics) -> Self
pub fn uncompacted(input_semantics: InputSemantics) -> Self
Shortcut to specifying an attribute that will live in an arbitrary time domain and never compact its trace.
Trait Implementations§
Source§impl Clone for AttributeConfig
impl Clone for AttributeConfig
Source§fn clone(&self) -> AttributeConfig
fn clone(&self) -> AttributeConfig
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 AttributeConfig
impl Debug for AttributeConfig
Source§impl Default for AttributeConfig
impl Default for AttributeConfig
Source§impl<'de> Deserialize<'de> for AttributeConfig
impl<'de> Deserialize<'de> for AttributeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AttributeConfig
Source§impl Hash for AttributeConfig
impl Hash for AttributeConfig
Source§impl Ord for AttributeConfig
impl Ord for AttributeConfig
Source§fn cmp(&self, other: &AttributeConfig) -> Ordering
fn cmp(&self, other: &AttributeConfig) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AttributeConfig
impl PartialEq for AttributeConfig
Source§fn eq(&self, other: &AttributeConfig) -> bool
fn eq(&self, other: &AttributeConfig) -> bool
self and other values to be equal, and is used by ==.