Class MigrationServiceGrpc.MigrationServiceBlockingStub (0.3.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateMigrationWorkflowRequest
Returns
TypeDescription
MigrationWorkflow

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

public Empty deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

Deletes a migration workflow by name.

Parameter
NameDescription
requestDeleteMigrationWorkflowRequest
Returns
TypeDescription
Empty

getMigrationSubtask(GetMigrationSubtaskRequest request)

public MigrationSubtask getMigrationSubtask(GetMigrationSubtaskRequest request)

Gets a previously created migration subtask.

Parameter
NameDescription
requestGetMigrationSubtaskRequest
Returns
TypeDescription
MigrationSubtask

getMigrationWorkflow(GetMigrationWorkflowRequest request)

public MigrationWorkflow getMigrationWorkflow(GetMigrationWorkflowRequest request)

Gets a previously created migration workflow.

Parameter
NameDescription
requestGetMigrationWorkflowRequest
Returns
TypeDescription
MigrationWorkflow

listMigrationSubtasks(ListMigrationSubtasksRequest request)

public ListMigrationSubtasksResponse listMigrationSubtasks(ListMigrationSubtasksRequest request)

Lists previously created migration subtasks.

Parameter
NameDescription
requestListMigrationSubtasksRequest
Returns
TypeDescription
ListMigrationSubtasksResponse

listMigrationWorkflows(ListMigrationWorkflowsRequest request)

public ListMigrationWorkflowsResponse listMigrationWorkflows(ListMigrationWorkflowsRequest request)

Lists previously created migration workflow.

Parameter
NameDescription
requestListMigrationWorkflowsRequest
Returns
TypeDescription
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
NameDescription
requestStartMigrationWorkflowRequest
Returns
TypeDescription
Empty