Enum google_api_proto::google::cloud::dataplex::v1::data_quality_rule::RuleType
source · pub enum RuleType {
RangeExpectation(RangeExpectation),
NonNullExpectation(NonNullExpectation),
SetExpectation(SetExpectation),
RegexExpectation(RegexExpectation),
UniquenessExpectation(UniquenessExpectation),
StatisticRangeExpectation(StatisticRangeExpectation),
RowConditionExpectation(RowConditionExpectation),
TableConditionExpectation(TableConditionExpectation),
SqlAssertion(SqlAssertion),
}
Expand description
The rule-specific configuration.
Variants§
RangeExpectation(RangeExpectation)
Row-level rule which evaluates whether each column value lies between a specified range.
NonNullExpectation(NonNullExpectation)
Row-level rule which evaluates whether each column value is null.
SetExpectation(SetExpectation)
Row-level rule which evaluates whether each column value is contained by a specified set.
RegexExpectation(RegexExpectation)
Row-level rule which evaluates whether each column value matches a specified regex.
UniquenessExpectation(UniquenessExpectation)
Row-level rule which evaluates whether each column value is unique.
StatisticRangeExpectation(StatisticRangeExpectation)
Aggregate rule which evaluates whether the column aggregate statistic lies between a specified range.
RowConditionExpectation(RowConditionExpectation)
Row-level rule which evaluates whether each row in a table passes the specified condition.
TableConditionExpectation(TableConditionExpectation)
Aggregate rule which evaluates whether the provided expression is true for a table.
SqlAssertion(SqlAssertion)
Aggregate rule which evaluates the number of rows returned for the provided statement.
Implementations§
source§impl RuleType
impl RuleType
sourcepub fn merge<B>(
field: &mut Option<RuleType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<RuleType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for RuleType
impl PartialEq for RuleType
impl StructuralPartialEq for RuleType
Auto Trait Implementations§
impl Freeze for RuleType
impl RefUnwindSafe for RuleType
impl Send for RuleType
impl Sync for RuleType
impl Unpin for RuleType
impl UnwindSafe for RuleType
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<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