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\u003eThe latest version of the Google.Cloud.Spanner.Data library is 5.0.0-beta05, with several previous versions available for reference, down to version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e represents a data partition for a \u003ccode\u003eSpannerCommand\u003c/code\u003e, enabling parallel execution of large operations across multiple tasks or processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e property provides the identifier for the data subset to be included when a \u003ccode\u003eSpannerCommand\u003c/code\u003e executes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e objects can be serialized to a base64 string using \u003ccode\u003eToBase64String()\u003c/code\u003e and deserialized back into a \u003ccode\u003eCommandPartition\u003c/code\u003e using \u003ccode\u003eFromBase64String(String)\u003c/code\u003e, supporting distributed parallel processing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class inherits from Object and implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface.\u003c/p\u003e\n"]]],[],null,[]]