Class MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub (3.14.0)

public static final class MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub extends AbstractBlockingStub<MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub>

A stub to allow clients to do synchronous rpc calls to service MetastorePartitionService.

BigQuery Metastore Partition Service API. This service is used for managing metastore partitions in BigQuery metastore. The service supports only batch operations for write.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub

Methods

batchCreateMetastorePartitions(BatchCreateMetastorePartitionsRequest request)

public BatchCreateMetastorePartitionsResponse batchCreateMetastorePartitions(BatchCreateMetastorePartitionsRequest request)

Adds metastore partitions to a table.

Parameter
Name Description
request BatchCreateMetastorePartitionsRequest
Returns
Type Description
BatchCreateMetastorePartitionsResponse

batchDeleteMetastorePartitions(BatchDeleteMetastorePartitionsRequest request)

public Empty batchDeleteMetastorePartitions(BatchDeleteMetastorePartitionsRequest request)

Deletes metastore partitions from a table.

Parameter
Name Description
request BatchDeleteMetastorePartitionsRequest
Returns
Type Description
Empty

batchUpdateMetastorePartitions(BatchUpdateMetastorePartitionsRequest request)

public BatchUpdateMetastorePartitionsResponse batchUpdateMetastorePartitions(BatchUpdateMetastorePartitionsRequest request)

Updates metastore partitions in a table.

Parameter
Name Description
request BatchUpdateMetastorePartitionsRequest
Returns
Type Description
BatchUpdateMetastorePartitionsResponse

build(Channel channel, CallOptions callOptions)

protected MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MetastorePartitionServiceGrpc.MetastorePartitionServiceBlockingV2Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

listMetastorePartitions(ListMetastorePartitionsRequest request)

public ListMetastorePartitionsResponse listMetastorePartitions(ListMetastorePartitionsRequest request)

Gets metastore partitions from a table.

Parameter
Name Description
request ListMetastorePartitionsRequest
Returns
Type Description
ListMetastorePartitionsResponse

streamMetastorePartitions()

public BlockingClientCall<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse> streamMetastorePartitions()

This is a bi-di streaming rpc method that allows the client to send a stream of partitions and commit all of them atomically at the end. If the commit is successful, the server will return a response and close the stream. If the commit fails (due to duplicate partitions or other reason), the server will close the stream with an error. This method is only available via the gRPC API (not REST).

Returns
Type Description
io.grpc.stub.BlockingClientCall<StreamMetastorePartitionsRequest,StreamMetastorePartitionsResponse>