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 \u003ccode\u003eCommandPartition\u003c/code\u003e class 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 latest beta version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, and there are multiple versions accessible, ranging from \u003ccode\u003e5.0.0-beta04\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e objects can be serialized into base64 text using the \u003ccode\u003eToBase64String()\u003c/code\u003e method, and deserialized back into a \u003ccode\u003eCommandPartition\u003c/code\u003e with \u003ccode\u003eFromBase64String(String)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eCommandPartition\u003c/code\u003e instance has a \u003ccode\u003ePartitionId\u003c/code\u003e property, a string value that specifies which data the associated \u003ccode\u003eSpannerCommand\u003c/code\u003e will be executed on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetHashCode()\u003c/code\u003e method is overridden to provide a hash code for the \u003ccode\u003eCommandPartition\u003c/code\u003e, and it also implements \u003ccode\u003eIEquatable\u003c/code\u003e to define equality.\u003c/p\u003e\n"]]],[],null,[]]