[[["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-22 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eReplicaSelection\u003c/code\u003e class in the Google Cloud Spanner C++ library, spanning versions from 2.11.0 to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplicaSelection\u003c/code\u003e class is a directed-read replica selector, which allows callers to specify replica preferences for database operations using a \u003ccode\u003elocation\u003c/code\u003e or \u003ccode\u003etype\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplicaSelection\u003c/code\u003e class has multiple constructors that accept either a \u003ccode\u003elocation\u003c/code\u003e string, a \u003ccode\u003eReplicaType\u003c/code\u003e, or both as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has \u003ccode\u003elocation()\u003c/code\u003e and \u003ccode\u003etype()\u003c/code\u003e functions which return the stored \u003ccode\u003elocation\u003c/code\u003e and \u003ccode\u003etype\u003c/code\u003e values respectively.\u003c/p\u003e\n"],["\u003cp\u003eCallers of the \u003ccode\u003eReplicaSelection\u003c/code\u003e class must supply at least one of either \u003ccode\u003elocation\u003c/code\u003e or \u003ccode\u003etype\u003c/code\u003e when using it.\u003c/p\u003e\n"]]],[],null,[]]