Reference documentation and code samples for the Google Cloud Dataplex V1 Client class StringFieldInfo.
StringFieldInfo defines output info for any string type field.
Generated from protobuf message google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_length |
int|string
The minimum length of the string field in the sampled data. Optional if zero non-null rows. |
↳ max_length |
int|string
The maximum length of a string field in the sampled data. Optional if zero non-null rows. |
↳ average_length |
float
The average length of a string field in the sampled data. Optional if zero non-null rows. |
getMinLength
The minimum length of the string field in the sampled data.
Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
int|string |
setMinLength
The minimum length of the string field in the sampled data.
Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getMaxLength
The maximum length of a string field in the sampled data.
Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
int|string |
setMaxLength
The maximum length of a string field in the sampled data.
Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getAverageLength
The average length of a string field in the sampled data.
Optional if zero non-null rows.
Returns | |
---|---|
Type | Description |
float |
setAverageLength
The average length of a string field in the sampled data.
Optional if zero non-null rows.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |