Google Cloud Dataplex V1 Client - Class TopNValue (0.11.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
NameDescription
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
TypeDescription
string

setValue

String value of a top N non-null value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCount

Count of the corresponding value in the scanned data.

Returns
TypeDescription
int|string

setCount

Count of the corresponding value in the scanned data.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getRatio

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

Returns
TypeDescription
float

setRatio

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

Parameter
NameDescription
var float
Returns
TypeDescription
$this