Class QueryPartition (2.19.0)

The QueryPartition class is a regular type that represents a single slice of a parallel SQL read.

Instances of QueryPartition are created by Client::PartitionQuery. Once created, QueryPartition objects can be serialized, transmitted to separate processes, and used to read data in parallel using Client::ExecuteQuery. If data_boost is set, those requests will be executed using the independent compute resources of Cloud Spanner Data Boost.

Constructors

QueryPartition(QueryPartition const &)

Copy and move

Parameter
NameDescription
QueryPartition const &

QueryPartition(QueryPartition &&)

Copy and move

Parameter
NameDescription
QueryPartition &&

QueryPartition()

Constructs an instance of QueryPartition that is not associated with any SqlStatement.

Operators

operator=(QueryPartition const &)

Copy and move

Parameter
NameDescription
QueryPartition const &
Returns
TypeDescription
QueryPartition &

operator=(QueryPartition &&)

Copy and move

Parameter
NameDescription
QueryPartition &&
Returns
TypeDescription
QueryPartition &

Functions

sql_statement() const

Accessor for the SqlStatement associated with this QueryPartition.

Returns
TypeDescription
SqlStatement const &