Google Cloud Dataplex V1 Client - Class PartitionField (0.1.6)

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

Represents a key field within the entity's partition structure. You could have up to 20 partition fields, but only the first 10 partitions have the filtering ability due to performance consideration.

Generated from protobuf message google.cloud.dataplex.v1.Schema.PartitionField

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.

↳ type int

Required. Immutable. The type of field.

getName

Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setName

Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Required. Immutable. The type of field.

Generated from protobuf field .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

setType

Required. Immutable. The type of field.

Generated from protobuf field .google.cloud.dataplex.v1.Schema.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
var int
Returns
TypeDescription
$this