Class MigrationServiceGrpc.MigrationServiceFutureStub (0.45.0)

public static final class MigrationServiceGrpc.MigrationServiceFutureStub extends AbstractFutureStub<MigrationServiceGrpc.MigrationServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service MigrationService.

Service to handle EDW migrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MigrationServiceGrpc.MigrationServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createMigrationWorkflow(CreateMigrationWorkflowRequest request)

public ListenableFuture<MigrationWorkflow> createMigrationWorkflow(CreateMigrationWorkflowRequest request)

Creates a migration workflow.

Parameter
Name Description
request CreateMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

public ListenableFuture<Empty> deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

Deletes a migration workflow by name.

Parameter
Name Description
request DeleteMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getMigrationSubtask(GetMigrationSubtaskRequest request)

public ListenableFuture<MigrationSubtask> getMigrationSubtask(GetMigrationSubtaskRequest request)

Gets a previously created migration subtask.

Parameter
Name Description
request GetMigrationSubtaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationSubtask>

getMigrationWorkflow(GetMigrationWorkflowRequest request)

public ListenableFuture<MigrationWorkflow> getMigrationWorkflow(GetMigrationWorkflowRequest request)

Gets a previously created migration workflow.

Parameter
Name Description
request GetMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

listMigrationSubtasks(ListMigrationSubtasksRequest request)

public ListenableFuture<ListMigrationSubtasksResponse> listMigrationSubtasks(ListMigrationSubtasksRequest request)

Lists previously created migration subtasks.

Parameter
Name Description
request ListMigrationSubtasksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse>

listMigrationWorkflows(ListMigrationWorkflowsRequest request)

public ListenableFuture<ListMigrationWorkflowsResponse> listMigrationWorkflows(ListMigrationWorkflowsRequest request)

Lists previously created migration workflow.

Parameter
Name Description
request ListMigrationWorkflowsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMigrationWorkflowsResponse>

startMigrationWorkflow(StartMigrationWorkflowRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Empty>