Google Cloud Dataplex V1 Client - Class TopNValue (1.0.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class TopNValue.

Top N non-null values in the scanned data.

Generated from protobuf message google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue

Namespace

Google \ Cloud \ Dataplex \ V1 \ DataProfileResult \ Profile \ Field \ ProfileInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

String value of a top N non-null value.

↳ count int|string

Count of the corresponding value in the scanned data.

↳ ratio float

Ratio of the corresponding value in the field against the total number of rows in the scanned data.

getValue

String value of a top N non-null value.

Returns
Type Description
string

setValue

String value of a top N non-null value.

Parameter
Name Description
var string
Returns
Type Description
$this

getCount

Count of the corresponding value in the scanned data.

Returns
Type Description
int|string

setCount

Count of the corresponding value in the scanned data.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getRatio

Ratio of the corresponding value in the field against the total number of rows in the scanned data.

Returns
Type Description
float

setRatio

Ratio of the corresponding value in the field against the total number of rows in the scanned data.

Parameter
Name Description
var float
Returns
Type Description
$this