Class MigrationServiceGrpc.MigrationServiceFutureStub (0.40.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateMigrationWorkflowRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

public ListenableFuture<Empty> deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

Deletes a migration workflow by name.

Parameter
NameDescription
requestDeleteMigrationWorkflowRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getMigrationSubtask(GetMigrationSubtaskRequest request)

public ListenableFuture<MigrationSubtask> getMigrationSubtask(GetMigrationSubtaskRequest request)

Gets a previously created migration subtask.

Parameter
NameDescription
requestGetMigrationSubtaskRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<MigrationSubtask>

getMigrationWorkflow(GetMigrationWorkflowRequest request)

public ListenableFuture<MigrationWorkflow> getMigrationWorkflow(GetMigrationWorkflowRequest request)

Gets a previously created migration workflow.

Parameter
NameDescription
requestGetMigrationWorkflowRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

listMigrationSubtasks(ListMigrationSubtasksRequest request)

public ListenableFuture<ListMigrationSubtasksResponse> listMigrationSubtasks(ListMigrationSubtasksRequest request)

Lists previously created migration subtasks.

Parameter
NameDescription
requestListMigrationSubtasksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse>

listMigrationWorkflows(ListMigrationWorkflowsRequest request)

public ListenableFuture<ListMigrationWorkflowsResponse> listMigrationWorkflows(ListMigrationWorkflowsRequest request)

Lists previously created migration workflow.

Parameter
NameDescription
requestListMigrationWorkflowsRequest
Returns
TypeDescription
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
NameDescription
requestStartMigrationWorkflowRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>