Class MigrationServiceGrpc.MigrationServiceBlockingStub (0.45.0)

public static final class MigrationServiceGrpc.MigrationServiceBlockingStub extends AbstractBlockingStub<MigrationServiceGrpc.MigrationServiceBlockingStub>

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

Service to handle EDW migrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > MigrationServiceGrpc.MigrationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createMigrationWorkflow(CreateMigrationWorkflowRequest request)

public MigrationWorkflow createMigrationWorkflow(CreateMigrationWorkflowRequest request)

Creates a migration workflow.

Parameter
Name Description
request CreateMigrationWorkflowRequest
Returns
Type Description
MigrationWorkflow

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

public Empty deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

Deletes a migration workflow by name.

Parameter
Name Description
request DeleteMigrationWorkflowRequest
Returns
Type Description
Empty

getMigrationSubtask(GetMigrationSubtaskRequest request)

public MigrationSubtask getMigrationSubtask(GetMigrationSubtaskRequest request)

Gets a previously created migration subtask.

Parameter
Name Description
request GetMigrationSubtaskRequest
Returns
Type Description
MigrationSubtask

getMigrationWorkflow(GetMigrationWorkflowRequest request)

public MigrationWorkflow getMigrationWorkflow(GetMigrationWorkflowRequest request)

Gets a previously created migration workflow.

Parameter
Name Description
request GetMigrationWorkflowRequest
Returns
Type Description
MigrationWorkflow

listMigrationSubtasks(ListMigrationSubtasksRequest request)

public ListMigrationSubtasksResponse listMigrationSubtasks(ListMigrationSubtasksRequest request)

Lists previously created migration subtasks.

Parameter
Name Description
request ListMigrationSubtasksRequest
Returns
Type Description
ListMigrationSubtasksResponse

listMigrationWorkflows(ListMigrationWorkflowsRequest request)

public ListMigrationWorkflowsResponse listMigrationWorkflows(ListMigrationWorkflowsRequest request)

Lists previously created migration workflow.

Parameter
Name Description
request ListMigrationWorkflowsRequest
Returns
Type Description
ListMigrationWorkflowsResponse

startMigrationWorkflow(StartMigrationWorkflowRequest request)

public Empty startMigrationWorkflow(StartMigrationWorkflowRequest request)

Starts a previously created migration workflow. I.e., the state transitions from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. An error will be signaled if the state is anything other than DRAFT or RUNNING.

Parameter
Name Description
request StartMigrationWorkflowRequest
Returns
Type Description
Empty