Class: Aws::TimestreamWrite::Types::PartitionKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::PartitionKey
- Defined in:
- gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb
Overview
An attribute used in partitioning data in a table. A dimension key partitions data using the values of the dimension specified by the dimension-name as partition key, while a measure key partitions data using measure names (values of the 'measure_name' column).
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enforcement_in_record ⇒ String
The level of enforcement for the specification of a dimension key in ingested records.
-
#name ⇒ String
The name of the attribute used for a dimension key.
-
#type ⇒ String
The type of the partition key.
Instance Attribute Details
#enforcement_in_record ⇒ String
The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
1063 1064 1065 1066 1067 1068 1069 |
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 1063 class PartitionKey < Struct.new( :type, :name, :enforcement_in_record) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the attribute used for a dimension key.
1063 1064 1065 1066 1067 1068 1069 |
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 1063 class PartitionKey < Struct.new( :type, :name, :enforcement_in_record) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
1063 1064 1065 1066 1067 1068 1069 |
# File 'gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/types.rb', line 1063 class PartitionKey < Struct.new( :type, :name, :enforcement_in_record) SENSITIVE = [] include Aws::Structure end |