Class: Azure::ServiceFabric::V6_4_0_36::Models::UniformInt64RangePartitionSchemeDescription
- Inherits:
-
PartitionSchemeDescription
- Object
- PartitionSchemeDescription
- Azure::ServiceFabric::V6_4_0_36::Models::UniformInt64RangePartitionSchemeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb
Overview
Describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.
Instance Attribute Summary collapse
-
#count ⇒ Integer
The number of partitions.
-
#high_key ⇒ String
range that should be split between the partitions.
-
#low_key ⇒ String
range that should be split between the partitions.
-
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UniformInt64RangePartitionSchemeDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ UniformInt64RangePartitionSchemeDescription
constructor
A new instance of UniformInt64RangePartitionSchemeDescription.
Constructor Details
#initialize ⇒ UniformInt64RangePartitionSchemeDescription
Returns a new instance of UniformInt64RangePartitionSchemeDescription.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb', line 17 def initialize @PartitionScheme = "UniformInt64Range" end |
Instance Attribute Details
#count ⇒ Integer
Returns The number of partitions.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb', line 24 def count @count end |
#high_key ⇒ String
range that should be split between the partitions.
34 35 36 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb', line 34 def high_key @high_key end |
#low_key ⇒ String
range that should be split between the partitions.
29 30 31 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb', line 29 def low_key @low_key end |
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb', line 21 def PartitionScheme @PartitionScheme end |
Class Method Details
.mapper ⇒ Object
Mapper for UniformInt64RangePartitionSchemeDescription class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/6.4.0.36/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 |