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 \u003ccode\u003eCommandPartition\u003c/code\u003e documentation is 5.0.0-beta05, with multiple older versions available for reference, including versions in the 4.x.x and 3.x.x series.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e represents a portion of data for a \u003ccode\u003eSpannerCommand\u003c/code\u003e, which is useful for parallelizing large operations across various tasks or processes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e property contains the ID for a set of data to be included when a \u003ccode\u003eSpannerCommand\u003c/code\u003e is executed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFromBase64String\u003c/code\u003e method can be used to recreate a \u003ccode\u003eCommandPartition\u003c/code\u003e from a base64 string created by a previous call to the method \u003ccode\u003eToBase64String\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e instances can be serialized to a base64 string using \u003ccode\u003eToBase64String\u003c/code\u003e, enabling their use in distributed systems for parallel processing, then deserialized back to a \u003ccode\u003eCommandPartition\u003c/code\u003e with \u003ccode\u003eFromBase64String\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]