public sealed class CommandPartition : IEquatable<CommandPartition>
Reference documentation and code samples for the Google.Cloud.Spanner.Data class CommandPartition.
Represents a partition of data upon which a SpannerCommand will execute.
Partitions are useful for parallelizing large operations across several tasks or processes.
After partitioning a query, the partitions can be serialized using this method, then deserialized
with FromBase64String(String) on multiple machines, allowing parallel processing.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This document provides reference information for the `CommandPartition` class within the `Google.Cloud.Spanner.Data` namespace, specifically version 4.2.0 of the library, with links to prior versions and a latest beta version also provided."],["The `CommandPartition` class represents a segment of data for `SpannerCommand` execution, enabling the parallelization of extensive operations across various tasks or processes."],["The `PartitionId` property of a `CommandPartition` object is a string that indicates the specific dataset that will be handled by a `SpannerCommand` when it is executed."],["The class includes methods `FromBase64String()` and `ToBase64String()`, allowing for serialization and deserialization of partitions, which facilitates distributing and executing partitioned operations across multiple systems."],["The `CommandPartition` class inherits from `Object` and implements `IEquatable`, and includes the overridden `GetHashCode()` method."]]],[]]