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 segment of data 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 version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, and the page provides access to documentation for numerous older versions, from \u003ccode\u003e5.0.0-beta04\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e property in the \u003ccode\u003eCommandPartition\u003c/code\u003e class is a string that identifies the specific data segment to be used when the associated \u003ccode\u003eSpannerCommand\u003c/code\u003e runs.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e objects can be converted to and from a base64 string format using the \u003ccode\u003eToBase64String()\u003c/code\u003e and \u003ccode\u003eFromBase64String(String)\u003c/code\u003e methods, which allows for the serialization and parallel processing of query partitions across multiple machines.\u003c/p\u003e\n"]]],[],null,[]]