public sealed class CommandPartition : IEquatable<CommandPartition>
Reference documentation and code samples for the Google.Cloud.Spanner.Data class 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 stable version available is 4.6.0, while the most recent version is 5.0.0-beta05, which is currently in beta.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Spanner.Data\u003c/code\u003e namespace, representing a data partition for executing a \u003ccode\u003eSpannerCommand\u003c/code\u003e and facilitating parallel operations.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCommandPartition\u003c/code\u003e instances can be serialized to base64 strings using the \u003ccode\u003eToBase64String()\u003c/code\u003e method and reconstructed from base64 strings with the \u003ccode\u003eFromBase64String(string)\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionId\u003c/code\u003e property is a string that identifies the specific set of data a \u003ccode\u003eSpannerCommand\u003c/code\u003e should execute against.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommandPartition\u003c/code\u003e class implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface.\u003c/p\u003e\n"]]],[],null,[]]