You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GlueDataBrew::Types::ConditionExpression

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ConditionExpression as input to an Aws::Client method, you can use a vanilla Hash:

{
  condition: "Condition", # required
  value: "ConditionValue",
  target_column: "TargetColumn", # required
}

Represents an individual condition that evaluates to true or false.

Conditions are used with recipe actions: The action is only performed for column values where the condition evaluates to true.

If a recipe requires more than one condition, then the recipe must specify multiple ConditionExpression elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

A specific condition to apply to a recipe action. For more information, see Recipe structure in the AWS Glue DataBrew Developer Guide.

Returns:

  • (String)

    A specific condition to apply to a recipe action.

#target_columnString

A column to apply this condition to, within an AWS Glue DataBrew dataset.

Returns:

  • (String)

    A column to apply this condition to, within an AWS Glue DataBrew dataset.

#valueString

A value that the condition must evaluate to for the condition to succeed.

Returns:

  • (String)

    A value that the condition must evaluate to for the condition to succeed.