Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
IntegerFieldInfo defines output for any integer type field.
Instance Attribute Summary collapse
-
#average ⇒ Float
The average of non-null values of integer field in the sampled data.
-
#max ⇒ Fixnum
The maximum value of an integer field in the sampled data.
-
#min ⇒ Fixnum
The minimum value of an integer field in the sampled data.
-
#quartiles ⇒ Array<Fixnum>
A quartile divide the number of data points into four parts, or quarters, of more-or-less equal size.
-
#standard_deviation ⇒ Float
The standard deviation of non-null of integer field in the sampled data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
constructor
A new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo.
1139 1140 1141 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average ⇒ Float
The average of non-null values of integer field in the sampled data. Return
NaN, if the field has a NaN. Optional if zero non-null rows.
Corresponds to the JSON property average
1106 1107 1108 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1106 def average @average end |
#max ⇒ Fixnum
The maximum value of an integer field in the sampled data. Return NaN, if the
field has a NaN. Optional if zero non-null rows.
Corresponds to the JSON property max
1112 1113 1114 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1112 def max @max end |
#min ⇒ Fixnum
The minimum value of an integer field in the sampled data. Return NaN, if the
field has a NaN. Optional if zero non-null rows.
Corresponds to the JSON property min
1118 1119 1120 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1118 def min @min end |
#quartiles ⇒ Array<Fixnum>
A quartile divide the number of data points into four parts, or quarters, of
more-or-less equal size. Three main quartiles used are: The first quartile (Q1)
splits off the lowest 25% of data from the highest 75%. It is also known as
the lower or 25th empirical quartile, as 25% of the data is below this point.
The second quartile (Q2) is the median of a data set. So, 50% of the data lies
below this point. The third quartile (Q3) splits off the highest 25% of data
from the lowest 75%. It is known as the upper or 75th empirical quartile, as
75% of the data lies below this point. So, here the quartiles is provided as
an ordered list of quartile values, occurring in order Q1, median, Q3.
Corresponds to the JSON property quartiles
1131 1132 1133 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1131 def quartiles @quartiles end |
#standard_deviation ⇒ Float
The standard deviation of non-null of integer field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Corresponds to the JSON property standardDeviation
1137 1138 1139 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1137 def standard_deviation @standard_deviation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1144 1145 1146 1147 1148 1149 1150 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1144 def update!(**args) @average = args[:average] if args.key?(:average) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @quartiles = args[:quartiles] if args.key?(:quartiles) @standard_deviation = args[:standard_deviation] if args.key?(:standard_deviation) end |