Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DoubleFieldInfo.
DoubleFieldInfo defines output for any double type field.
Generated from protobuf message google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ average |
float
The average of non-null values of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows. |
↳ standard_deviation |
float
The standard deviation of non-null of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows. |
↳ min |
float
The minimum value of a double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows. |
↳ quartiles |
array
A quartile divide the numebr 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. |
↳ max |
float
The maximum value of a double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows. |
getAverage
The average of non-null values of double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
float |
setAverage
The average of non-null values of double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getStandardDeviation
The standard deviation of non-null of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
float |
setStandardDeviation
The standard deviation of non-null of double field in the sampled data. Return NaN, if the field has a NaN. Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMin
The minimum value of a double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
float |
setMin
The minimum value of a double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getQuartiles
A quartile divide the numebr 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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setQuartiles
A quartile divide the numebr 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.
Parameter | |
---|---|
Name | Description |
var |
float[]
|
Returns | |
---|---|
Type | Description |
$this |
getMax
The maximum value of a double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
float |
setMax
The maximum value of a double field in the sampled data.
Return NaN, if the field has a NaN. Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |