class Azure::ServiceFabric::V7_0_0_42::Models::UniformInt64RangePartitionSchemeDescription
Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.
Attributes
PartitionScheme[RW]
count[RW]
@return [Integer] The number of partitions.
high_key[RW]
@return [String] String indicating the upper bound of the partition key range that should be split between the partitions.
low_key[RW]
@return [String] String indicating the lower bound of the partition key range that should be split between the partitions.
Private Class Methods
mapper()
click to toggle source
Mapper for UniformInt64RangePartitionSchemeDescription
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb, line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UniformInt64Range', type: { name: 'Composite', class_name: 'UniformInt64RangePartitionSchemeDescription', model_properties: { PartitionScheme: { client_side_validation: true, required: true, serialized_name: 'PartitionScheme', type: { name: 'String' } }, count: { client_side_validation: true, required: true, serialized_name: 'Count', type: { name: 'Number' } }, low_key: { client_side_validation: true, required: true, serialized_name: 'LowKey', type: { name: 'String' } }, high_key: { client_side_validation: true, required: true, serialized_name: 'HighKey', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb, line 17 def initialize @PartitionScheme = "UniformInt64Range" end