Google Cloud Dataplex V1 Client - Class ProfileInfo (1.1.0)

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

The profile information for each field type.

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

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ null_ratio float

Ratio of rows with null value against total scanned rows.

↳ distinct_ratio float

Ratio of rows with distinct values against total scanned rows. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

↳ top_n_values array<ProfileInfo\TopNValue>

The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

↳ string_profile ProfileInfo\StringFieldInfo

String type field information.

↳ integer_profile ProfileInfo\IntegerFieldInfo

Integer type field information.

↳ double_profile ProfileInfo\DoubleFieldInfo

Double type field information.

getNullRatio

Ratio of rows with null value against total scanned rows.

Returns
Type Description
float

setNullRatio

Ratio of rows with null value against total scanned rows.

Parameter
Name Description
var float
Returns
Type Description
$this

getDistinctRatio

Ratio of rows with distinct values against total scanned rows.

Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

Returns
Type Description
float

setDistinctRatio

Ratio of rows with distinct values against total scanned rows.

Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

Parameter
Name Description
var float
Returns
Type Description
$this

getTopNValues

The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTopNValues

The list of top N non-null values, frequency and ratio with which they occur in the scanned data. N is 10 or equal to the number of distinct values in the field, whichever is smaller. Not available for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode.

Parameter
Name Description
var array<ProfileInfo\TopNValue>
Returns
Type Description
$this

getStringProfile

String type field information.

Returns
Type Description
ProfileInfo\StringFieldInfo|null

hasStringProfile

setStringProfile

String type field information.

Parameter
Name Description
var ProfileInfo\StringFieldInfo
Returns
Type Description
$this

getIntegerProfile

Integer type field information.

Returns
Type Description
ProfileInfo\IntegerFieldInfo|null

hasIntegerProfile

setIntegerProfile

Integer type field information.

Parameter
Name Description
var ProfileInfo\IntegerFieldInfo
Returns
Type Description
$this

getDoubleProfile

Double type field information.

Returns
Type Description
ProfileInfo\DoubleFieldInfo|null

hasDoubleProfile

setDoubleProfile

Double type field information.

Parameter
Name Description
var ProfileInfo\DoubleFieldInfo
Returns
Type Description
$this

getFieldInfo

Returns
Type Description
string