public abstract ResultSet partitionQuery(PartitionOptions partitionOptions, Options.QueryOption[] options)
Partitions this query, so it can be executed in parallel. This method returns a ResultSet with a string-representation of the partitions that were created. These strings can
be used to execute a partition either on this connection or an any other connection (on this
host or an any other host) by calling the method #runPartition(). This method will
automatically enable data boost for the query if CloudSpannerJdbcConnection#isDataBoostEnabled() returns true.
Executes the given partition of a query. The partition that should be executed must be set as a
string parameter on this PreparedStatement using #setString(int, String). The
value should be a string that was returned by #partitionQuery(PartitionOptions,
QueryOption...).
public abstract CloudSpannerJdbcPartitionedQueryResultSet runPartitionedQuery(PartitionOptions partitionOptions, Options.QueryOption[] options)
Executes the given query as a partitioned query. The query will first be partitioned using the
#partitionQuery(PartitionOptions, QueryOption...) method. Each of the partitions will
then be executed in the background, and the results will be merged into a single result set.
This method will use CloudSpannerJdbcConnection#getMaxPartitionedParallelism()
threads to execute the partitioned query. Set this variable to a higher/lower value to
increase/decrease the degree of parallelism used for execution.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-01 UTC."],[],[]]