Class MetadataServiceGrpc.MetadataServiceBlockingStub (1.40.0)

public static final class MetadataServiceGrpc.MetadataServiceBlockingStub extends AbstractBlockingStub<MetadataServiceGrpc.MetadataServiceBlockingStub>

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

Metadata service manages metadata resources such as tables, filesets and partitions.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MetadataServiceGrpc.MetadataServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEntity(CreateEntityRequest request)

public Entity createEntity(CreateEntityRequest request)

Create a metadata entity.

Parameter
Name Description
request CreateEntityRequest
Returns
Type Description
Entity

createPartition(CreatePartitionRequest request)

public Partition createPartition(CreatePartitionRequest request)

Create a metadata partition.

Parameter
Name Description
request CreatePartitionRequest
Returns
Type Description
Partition

deleteEntity(DeleteEntityRequest request)

public Empty deleteEntity(DeleteEntityRequest request)

Delete a metadata entity.

Parameter
Name Description
request DeleteEntityRequest
Returns
Type Description
Empty

deletePartition(DeletePartitionRequest request)

public Empty deletePartition(DeletePartitionRequest request)

Delete a metadata partition.

Parameter
Name Description
request DeletePartitionRequest
Returns
Type Description
Empty

getEntity(GetEntityRequest request)

public Entity getEntity(GetEntityRequest request)

Get a metadata entity.

Parameter
Name Description
request GetEntityRequest
Returns
Type Description
Entity

getPartition(GetPartitionRequest request)

public Partition getPartition(GetPartitionRequest request)

Get a metadata partition of an entity.

Parameter
Name Description
request GetPartitionRequest
Returns
Type Description
Partition

listEntities(ListEntitiesRequest request)

public ListEntitiesResponse listEntities(ListEntitiesRequest request)

List metadata entities in a zone.

Parameter
Name Description
request ListEntitiesRequest
Returns
Type Description
ListEntitiesResponse

listPartitions(ListPartitionsRequest request)

public ListPartitionsResponse listPartitions(ListPartitionsRequest request)

List metadata partitions of an entity.

Parameter
Name Description
request ListPartitionsRequest
Returns
Type Description
ListPartitionsResponse

updateEntity(UpdateEntityRequest request)

public Entity updateEntity(UpdateEntityRequest request)

Update a metadata entity. Only supports full resource update.

Parameter
Name Description
request UpdateEntityRequest
Returns
Type Description
Entity