Skip to main content

◆ adminShowShards() [1/4]

AdminShowShardsResponse gpudb::GPUdb::adminShowShards (const AdminShowShardsRequest &request_) const

Show the mapping of shards to the corresponding rank and tom.

The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ adminShowShards() [2/4]

AdminShowShardsResponse & gpudb::GPUdb::adminShowShards (const AdminShowShardsRequest &request_,
AdminShowShardsResponse &response_ ) const

Show the mapping of shards to the corresponding rank and tom.

The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ adminShowShards() [3/4]

AdminShowShardsResponse gpudb::GPUdb::adminShowShards (const std::map< std::string, std::string > &options) const

Show the mapping of shards to the corresponding rank and tom.

The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

Parameters
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ adminShowShards() [4/4]

AdminShowShardsResponse & gpudb::GPUdb::adminShowShards (const std::map< std::string, std::string > &options,
AdminShowShardsResponse &response_ ) const

Show the mapping of shards to the corresponding rank and tom.

The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

Parameters
[in]optionsOptional parameters. The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).