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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eCommandPartition\u003c/code\u003e class, which is crucial for dividing data into partitions for execution by \u003ccode\u003eSpannerCommand\u003c/code\u003e, making large operations parallelizable across multiple tasks or processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace, is part of the .NET assembly \u003ccode\u003eGoogle.Cloud.Spanner.Data.dll\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides a \u003ccode\u003ePartitionId\u003c/code\u003e property to identify the specific data set and methods to convert a \u003ccode\u003eCommandPartition\u003c/code\u003e to and from a base64 string for serialization and deserialization, enabling distribution and parallel processing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFromBase64String()\u003c/code\u003e and \u003ccode\u003eToBase64String()\u003c/code\u003e methods allow users to serialize partitions for use across multiple machines and processes, making it useful for distributed query processing.\u003c/p\u003e\n"]]],[],null,[]]