Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Schema::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.
Returns
- (::String) — Required. Partition name is editable if only the partition style is not HIVE compatible. The maximum length allowed is 767 characters.
#type
def type() -> ::Google::Cloud::Dataplex::V1::Schema::Type
Returns
- (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.
#type=
def type=(value) -> ::Google::Cloud::Dataplex::V1::Schema::Type
Parameter
- value (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.
Returns
- (::Google::Cloud::Dataplex::V1::Schema::Type) — Required. Immutable. The type of field.