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 designed to represent a data partition for the \u003ccode\u003eSpannerCommand\u003c/code\u003e and is especially useful for parallel processing of large operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version listed for reference documentation is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, although multiple other versions exist, including \u003ccode\u003e4.6.0\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e, all for the \u003ccode\u003eCommandPartition\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class offers a \u003ccode\u003ePartitionId\u003c/code\u003e property that identifies the data subset the associated \u003ccode\u003eSpannerCommand\u003c/code\u003e should operate on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e can be serialized into a base64 string with the \u003ccode\u003eToBase64String()\u003c/code\u003e method and re-created from a base64 string with the \u003ccode\u003eFromBase64String()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e, implements \u003ccode\u003eIEquatable\u003c/code\u003e, and overrides \u003ccode\u003eGetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]