Class HiveMetastoreServiceGrpc (0.76.0)

public final class HiveMetastoreServiceGrpc

Hive Metastore Service is a biglake service that allows users to manage their external Hive catalogs. Full API compatibility with OSS Hive Metastore APIs is not supported. The methods match the Hive Metastore API spec mostly except for a few exceptions. These include listing resources with pattern, environment context which are combined in a single List API, return of ListResponse object instead of a list of resources, transactions, locks, etc. The BigLake Hive Metastore API defines the following resources:

  • A collection of Google Cloud projects: /projects/*
  • Each project has a collection of catalogs: /catalogs/*
  • Each catalog has a collection of databases: /databases/*
  • Each database has a collection of tables: /tables/*

Inheritance

java.lang.Object > HiveMetastoreServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(HiveMetastoreServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(HiveMetastoreServiceGrpc.AsyncService service)
Parameter
Name Description
service HiveMetastoreServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchCreatePartitionsMethod()

public static MethodDescriptor<BatchCreatePartitionsRequest,BatchCreatePartitionsResponse> getBatchCreatePartitionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchCreatePartitionsRequest,BatchCreatePartitionsResponse>

getBatchDeletePartitionsMethod()

public static MethodDescriptor<BatchDeletePartitionsRequest,Empty> getBatchDeletePartitionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchDeletePartitionsRequest,Empty>

getBatchUpdatePartitionsMethod()

public static MethodDescriptor<BatchUpdatePartitionsRequest,BatchUpdatePartitionsResponse> getBatchUpdatePartitionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchUpdatePartitionsRequest,BatchUpdatePartitionsResponse>

getCreateHiveCatalogMethod()

public static MethodDescriptor<CreateHiveCatalogRequest,HiveCatalog> getCreateHiveCatalogMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateHiveCatalogRequest,HiveCatalog>

getCreateHiveDatabaseMethod()

public static MethodDescriptor<CreateHiveDatabaseRequest,HiveDatabase> getCreateHiveDatabaseMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateHiveDatabaseRequest,HiveDatabase>

getCreateHiveTableMethod()

public static MethodDescriptor<CreateHiveTableRequest,HiveTable> getCreateHiveTableMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateHiveTableRequest,HiveTable>

getDeleteHiveCatalogMethod()

public static MethodDescriptor<DeleteHiveCatalogRequest,Empty> getDeleteHiveCatalogMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteHiveCatalogRequest,Empty>

getDeleteHiveDatabaseMethod()

public static MethodDescriptor<DeleteHiveDatabaseRequest,Empty> getDeleteHiveDatabaseMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteHiveDatabaseRequest,Empty>

getDeleteHiveTableMethod()

public static MethodDescriptor<DeleteHiveTableRequest,Empty> getDeleteHiveTableMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteHiveTableRequest,Empty>

getGetHiveCatalogMethod()

public static MethodDescriptor<GetHiveCatalogRequest,HiveCatalog> getGetHiveCatalogMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHiveCatalogRequest,HiveCatalog>

getGetHiveDatabaseMethod()

public static MethodDescriptor<GetHiveDatabaseRequest,HiveDatabase> getGetHiveDatabaseMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHiveDatabaseRequest,HiveDatabase>

getGetHiveTableMethod()

public static MethodDescriptor<GetHiveTableRequest,HiveTable> getGetHiveTableMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHiveTableRequest,HiveTable>

getListHiveCatalogsMethod()

public static MethodDescriptor<ListHiveCatalogsRequest,ListHiveCatalogsResponse> getListHiveCatalogsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHiveCatalogsRequest,ListHiveCatalogsResponse>

getListHiveDatabasesMethod()

public static MethodDescriptor<ListHiveDatabasesRequest,ListHiveDatabasesResponse> getListHiveDatabasesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHiveDatabasesRequest,ListHiveDatabasesResponse>

getListHiveTablesMethod()

public static MethodDescriptor<ListHiveTablesRequest,ListHiveTablesResponse> getListHiveTablesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListHiveTablesRequest,ListHiveTablesResponse>

getListPartitionsMethod()

public static MethodDescriptor<ListPartitionsRequest,ListPartitionsResponse> getListPartitionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListPartitionsRequest,ListPartitionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateHiveCatalogMethod()

public static MethodDescriptor<UpdateHiveCatalogRequest,HiveCatalog> getUpdateHiveCatalogMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHiveCatalogRequest,HiveCatalog>

getUpdateHiveDatabaseMethod()

public static MethodDescriptor<UpdateHiveDatabaseRequest,HiveDatabase> getUpdateHiveDatabaseMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHiveDatabaseRequest,HiveDatabase>

getUpdateHiveTableMethod()

public static MethodDescriptor<UpdateHiveTableRequest,HiveTable> getUpdateHiveTableMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHiveTableRequest,HiveTable>

newBlockingStub(Channel channel)

public static HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HiveMetastoreServiceGrpc.HiveMetastoreServiceBlockingV2Stub

newFutureStub(Channel channel)

public static HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HiveMetastoreServiceGrpc.HiveMetastoreServiceFutureStub

newStub(Channel channel)

public static HiveMetastoreServiceGrpc.HiveMetastoreServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
HiveMetastoreServiceGrpc.HiveMetastoreServiceStub