public sealed class CommandPartition : IEquatable<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-17 UTC."],[[["This webpage details the `CommandPartition` class, which is crucial for dividing data into partitions for execution by `SpannerCommand`, making large operations parallelizable across multiple tasks or processes."],["The `CommandPartition` class, found within the `Google.Cloud.Spanner.Data` namespace, is part of the .NET assembly `Google.Cloud.Spanner.Data.dll`."],["The latest version highlighted is 5.0.0-beta05, but the current page details version 3.7.0 of the class, with many previous versions linked for reference."],["The class provides a `PartitionId` property to identify the specific data set and methods to convert a `CommandPartition` to and from a base64 string for serialization and deserialization, enabling distribution and parallel processing."],["The `FromBase64String()` and `ToBase64String()` methods allow users to serialize partitions for use across multiple machines and processes, making it useful for distributed query processing."]]],[]]