Package io.dingodb.meta
Class MetaServiceGrpc.MetaServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MetaServiceGrpc.MetaServiceBlockingStub>
io.dingodb.meta.MetaServiceGrpc.MetaServiceBlockingStub
- Enclosing class:
- MetaServiceGrpc
public static final class MetaServiceGrpc.MetaServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<MetaServiceGrpc.MetaServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service MetaService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected MetaServiceGrpc.MetaServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) CreateAutoIncrement in: table_id start_id out: error codeCreateAutoIncrement in: table_id start_id map out: error codecreateIndex(Meta.CreateIndexRequest request) CreateIndex in: schema_id index_id IndexDefinition if index_id is specified, use given index_id, else create new index_id out: index_idcreateIndexId(Meta.CreateIndexIdRequest request) CreateIndexId in: schema_id out: index_idrestore if not exist, create, if exist, updatecreateSchema(Meta.CreateSchemaRequest request) CreateSchema in: parent_schema_id schema_name out: SchemacreateSchemas(Meta.CreateSchemasRequest request) createTable(Meta.CreateTableRequest request) CreateTable in: schema_id table_id TableDefinition if table_id is specified, use given table_id, else create new table_id out: table_idcreateTableId(Meta.CreateTableIdRequest request) CreateTableId in: schema_id out: table_idcreateTableIds(Meta.CreateTableIdsRequest request) createTables(Meta.CreateTablesRequest request) CreateTables in: schema_id List<TableDefinitionWithId> out: List<DingoCommonId>createTenant(Meta.CreateTenantRequest request) Tenant CreateTenant in: parent_schema_id schema_name out: TenantcreateTenants(Meta.CreateTenantsRequest request) DeleteAutoIncrement in: table_id out: error codedropIndex(Meta.DropIndexRequest request) DropIndex in: schema_id table_id out: {}dropSchema(Meta.DropSchemaRequest request) DropSchema in: parent_schema_id schema_name out: SchemadropTable(Meta.DropTableRequest request) DropTable in: schema_id table_id out: {}dropTables(Meta.DropTablesRequest request) DropTables in: table_id out: {}dropTenant(Meta.DropTenantRequest request) DropTenant in: parent_schema_id schema_name out: TenantexportMeta(Meta.ExportMetaRequest request) backup & restoreGenerateAutoIncrement in: table_id count auto_increment_increment auto_increment_offset out: start_id, end_idGenerateTableIds in: schema_id count out: List<DingoCommonId>GetAutoIncrement in: table_id out: start_idGetAutoIncrements out: list of table_id, start_idDeletedIndexDeletedTablegetIndex(Meta.GetIndexRequest request) GetIndex in: table_id out: IndexDefinitionWithIdgetIndexByName(Meta.GetIndexByNameRequest request) GetIndexByName in: table_id out: IndexDefinitionWithIdgetIndexes(Meta.GetIndexesRequest request) GetIndexes in: schema_id out: List<IndexDefinitionWithId>GetIndexesCount in: schema_id out: tables_countGetIndexMetrics in: table_id out: table_metricsgetIndexRange(Meta.GetIndexRangeRequest request) GetIndexRange in: table_id out: IndexRangegetMemoryInfo(Meta.HelloRequest request) getSchema(Meta.GetSchemaRequest request) GetSchema in: schema_id out: SchemaGetSchemaByName in: schema_name out: SchemagetSchemas(Meta.GetSchemasRequest request) GetSchemas in: schema_id out: List<Schema>getTable(Meta.GetTableRequest request) GetTable in: table_id out: TableDefinitionWithIdgetTableByName(Meta.GetTableByNameRequest request) GetTableByName in: table_id out: TableDefinitionWithIdGetTableMetrics in: table_id out: table_metricsgetTableRange(Meta.GetTableRangeRequest request) GetTableRange in: table_id out: TableRangegetTables(Meta.GetTablesRequest request) GetTables in: schema_id table_id out: List<DingoCommonId>GetTablesBySchema in: schema_id out: List<TableDefinitionWithId>getTablesCount(Meta.GetTablesCountRequest request) GetTablesCount in: schema_id out: tables_countgetTenants(Meta.GetTenantsRequest request) GetTenants out: List<Tenant>getTsoInfo(Meta.TsoRequest request) hello(Meta.HelloRequest request) Hello, this is for auto_incrementimportMeta(Meta.ImportMetaRequest request) listWatch(Meta.ListWatchRequest request) List all or one of the watch node infoSwitchAutoSplit for table/indextsoService(Meta.TsoRequest request) Timestamp Oracle TsoServiceUpdateAutoIncrement in: table_id start_id force out: error codeupdateIndex(Meta.UpdateIndexRequest request) UpdateIndex in: index_id IndexDefinition out: {}updateTables(Meta.UpdateTablesRequest request) UpdateTables in: schema_id List<TableDefinitionWithId>updateTenant(Meta.UpdateTenantRequest request) UpdateTenant in: id name comment out: Tenantwatch(Meta.WatchRequest request) Watch watches for events happening or that have happened.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MetaServiceGrpc.MetaServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetaServiceGrpc.MetaServiceBlockingStub>
-
hello
Hello, this is for auto_increment
-
getMemoryInfo
-
getTsoInfo
-
getSchemas
GetSchemas in: schema_id out: List<Schema>
-
getSchema
GetSchema in: schema_id out: Schema
-
getSchemaByName
GetSchemaByName in: schema_name out: Schema
-
getTablesBySchema
GetTablesBySchema in: schema_id out: List<TableDefinitionWithId>
-
getTablesCount
GetTablesCount in: schema_id out: tables_count
-
getTable
GetTable in: table_id out: TableDefinitionWithId
-
getTableByName
GetTableByName in: table_id out: TableDefinitionWithId
-
getTableRange
GetTableRange in: table_id out: TableRange
-
getTableMetrics
GetTableMetrics in: table_id out: table_metrics
-
createTableId
CreateTableId in: schema_id out: table_id
-
createTableIds
-
createTable
CreateTable in: schema_id table_id TableDefinition if table_id is specified, use given table_id, else create new table_id out: table_id -
dropTable
DropTable in: schema_id table_id out: {} -
generateTableIds
GenerateTableIds in: schema_id count out: List<DingoCommonId>
-
createTables
CreateTables in: schema_id List<TableDefinitionWithId> out: List<DingoCommonId>
-
updateTables
UpdateTables in: schema_id List<TableDefinitionWithId>
-
addIndexOnTable
-
dropIndexOnTable
-
getTables
GetTables in: schema_id table_id out: List<DingoCommonId>
-
dropTables
DropTables in: table_id out: {} -
getIndexes
GetIndexes in: schema_id out: List<IndexDefinitionWithId>
-
getIndexesCount
GetIndexesCount in: schema_id out: tables_count
-
getIndex
GetIndex in: table_id out: IndexDefinitionWithId
-
getIndexByName
GetIndexByName in: table_id out: IndexDefinitionWithId
-
getIndexRange
GetIndexRange in: table_id out: IndexRange
-
getIndexMetrics
GetIndexMetrics in: table_id out: table_metrics
-
createIndexId
CreateIndexId in: schema_id out: index_id
-
createIndex
CreateIndex in: schema_id index_id IndexDefinition if index_id is specified, use given index_id, else create new index_id out: index_id -
updateIndex
UpdateIndex in: index_id IndexDefinition out: {} -
dropIndex
DropIndex in: schema_id table_id out: {} -
createSchema
CreateSchema in: parent_schema_id schema_name out: Schema
-
dropSchema
DropSchema in: parent_schema_id schema_name out: Schema
-
getAutoIncrements
GetAutoIncrements out: list of table_id, start_id
-
getAutoIncrement
GetAutoIncrement in: table_id out: start_id
-
createAutoIncrement
public Meta.CreateAutoIncrementResponse createAutoIncrement(Meta.CreateAutoIncrementRequest request) CreateAutoIncrement in: table_id start_id out: error code
-
createAutoIncrements
public Meta.CreateAutoIncrementsResponse createAutoIncrements(Meta.CreateAutoIncrementsRequest request) CreateAutoIncrement in: table_id start_id map out: error code
-
updateAutoIncrement
public Meta.UpdateAutoIncrementResponse updateAutoIncrement(Meta.UpdateAutoIncrementRequest request) UpdateAutoIncrement in: table_id start_id force out: error code
-
generateAutoIncrement
public Meta.GenerateAutoIncrementResponse generateAutoIncrement(Meta.GenerateAutoIncrementRequest request) GenerateAutoIncrement in: table_id count auto_increment_increment auto_increment_offset out: start_id, end_id
-
deleteAutoIncrement
public Meta.DeleteAutoIncrementResponse deleteAutoIncrement(Meta.DeleteAutoIncrementRequest request) DeleteAutoIncrement in: table_id out: error code
-
switchAutoSplit
SwitchAutoSplit for table/index
-
tsoService
Timestamp Oracle TsoService
-
getDeletedTable
DeletedTable
-
cleanDeletedTable
-
getDeletedIndex
DeletedIndex
-
cleanDeletedIndex
-
watch
Watch watches for events happening or that have happened. client need to do loop rpc calls for continuous watch until it encounters an error.
-
listWatch
List all or one of the watch node info
-
createTenant
Tenant CreateTenant in: parent_schema_id schema_name out: Tenant
-
dropTenant
DropTenant in: parent_schema_id schema_name out: Tenant
-
updateTenant
UpdateTenant in: id name comment out: Tenant
-
getTenants
GetTenants out: List<Tenant>
-
exportMeta
backup & restore
-
saveIdEpochType
-
importMeta
-
importIdEpochType
-
createOrUpdateAutoIncrements
public Meta.CreateOrUpdateAutoIncrementsResponse createOrUpdateAutoIncrements(Meta.CreateOrUpdateAutoIncrementsRequest request) restore if not exist, create, if exist, update
-
createTenants
-
createSchemas
-
createIndexMetas
-