Class: Aws::GlueDataBrew::Types::Threshold

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb

Overview

Note:

When making an API call, you may pass Threshold data as a hash:

{
  value: 1.0, # required
  type: "GREATER_THAN_OR_EQUAL", # accepts GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN
  unit: "COUNT", # accepts COUNT, PERCENTAGE
}

The threshold used with a non-aggregate check expression. The non-aggregate check expression will be applied to each row in a specific column. Then the threshold will be used to determine whether the validation succeeds.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of a threshold. Used for comparison of an actual count of rows that satisfy the rule to the threshold value.

Returns:

  • (String)


4847
4848
4849
4850
4851
4852
4853
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 4847

class Threshold < Struct.new(
  :value,
  :type,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Unit of threshold value. Can be either a COUNT or PERCENTAGE of the full sample size used for validation.

Returns:

  • (String)


4847
4848
4849
4850
4851
4852
4853
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 4847

class Threshold < Struct.new(
  :value,
  :type,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

The value of a threshold.

Returns:

  • (Float)


4847
4848
4849
4850
4851
4852
4853
# File 'gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/types.rb', line 4847

class Threshold < Struct.new(
  :value,
  :type,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end