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 document outlines the \u003ccode\u003eCommandPartition\u003c/code\u003e class, which is crucial for dividing data into segments for \u003ccode\u003eSpannerCommand\u003c/code\u003e execution, enabling the parallel processing of extensive operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is for version 5.0.0-beta05, although many other versions including 3.12.0 are documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class is a sealed class that implements \u003ccode\u003eIEquatable<CommandPartition>\u003c/code\u003e, inheriting members from the \u003ccode\u003eObject\u003c/code\u003e class, and it belongs to the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e includes a read-only \u003ccode\u003ePartitionId\u003c/code\u003e property, a \u003ccode\u003eFromBase64String()\u003c/code\u003e static method to recreate a partition from a string, a \u003ccode\u003eGetHashCode()\u003c/code\u003e method and a \u003ccode\u003eToBase64String()\u003c/code\u003e method to serialize the partition.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eToBase64String()\u003c/code\u003e method allows partitions to be serialized and then deserialized on multiple machines for parallel processing, by using the complementary method \u003ccode\u003eFromBase64String()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]