Class LineageGrpc.LineageFutureStub (0.6.0)

public static final class LineageGrpc.LineageFutureStub extends AbstractFutureStub<LineageGrpc.LineageFutureStub>

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

Lineage is used to track data flows between assets over time. You can create LineageEvents to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LineageGrpc.LineageFutureStub

Methods

batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request)

public ListenableFuture<BatchSearchLinkProcessesResponse> batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request)

Retrieve information about LineageProcesses associated with specific links. LineageProcesses are transformation pipelines that result in data flowing from source to target assets. Links between assets represent this operation. If you have specific link names, you can use this method to verify which LineageProcesses contribute to creating those links. See the SearchLinks method for more information on how to retrieve link name. You can retrieve the LineageProcess information in every project where you have the datalineage.events.get permission. The project provided in the URL is used for Billing and Quota.

Parameter
NameDescription
requestBatchSearchLinkProcessesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<BatchSearchLinkProcessesResponse>

build(Channel channel, CallOptions callOptions)

protected LineageGrpc.LineageFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
LineageGrpc.LineageFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createLineageEvent(CreateLineageEventRequest request)

public ListenableFuture<LineageEvent> createLineageEvent(CreateLineageEventRequest request)

Creates a new lineage event.

Parameter
NameDescription
requestCreateLineageEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LineageEvent>

createProcess(CreateProcessRequest request)

public ListenableFuture<Process> createProcess(CreateProcessRequest request)

Creates a new process.

Parameter
NameDescription
requestCreateProcessRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Process>

createRun(CreateRunRequest request)

public ListenableFuture<Run> createRun(CreateRunRequest request)

Creates a new run.

Parameter
NameDescription
requestCreateRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Run>

deleteLineageEvent(DeleteLineageEventRequest request)

public ListenableFuture<Empty> deleteLineageEvent(DeleteLineageEventRequest request)

Deletes the lineage event with the specified name.

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

deleteProcess(DeleteProcessRequest request)

public ListenableFuture<Operation> deleteProcess(DeleteProcessRequest request)

Deletes the process with the specified name.

Parameter
NameDescription
requestDeleteProcessRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRun(DeleteRunRequest request)

public ListenableFuture<Operation> deleteRun(DeleteRunRequest request)

Deletes the run with the specified name.

Parameter
NameDescription
requestDeleteRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getLineageEvent(GetLineageEventRequest request)

public ListenableFuture<LineageEvent> getLineageEvent(GetLineageEventRequest request)

Gets details of a specified lineage event.

Parameter
NameDescription
requestGetLineageEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LineageEvent>

getProcess(GetProcessRequest request)

public ListenableFuture<Process> getProcess(GetProcessRequest request)

Gets the details of the specified process.

Parameter
NameDescription
requestGetProcessRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Process>

getRun(GetRunRequest request)

public ListenableFuture<Run> getRun(GetRunRequest request)

Gets the details of the specified run.

Parameter
NameDescription
requestGetRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Run>

listLineageEvents(ListLineageEventsRequest request)

public ListenableFuture<ListLineageEventsResponse> listLineageEvents(ListLineageEventsRequest request)

Lists lineage events in the given project and location. The list order is not defined.

Parameter
NameDescription
requestListLineageEventsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListLineageEventsResponse>

listProcesses(ListProcessesRequest request)

public ListenableFuture<ListProcessesResponse> listProcesses(ListProcessesRequest request)

List processes in the given project and location. List order is descending by insertion time.

Parameter
NameDescription
requestListProcessesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListProcessesResponse>

listRuns(ListRunsRequest request)

public ListenableFuture<ListRunsResponse> listRuns(ListRunsRequest request)

Lists runs in the given project and location. List order is descending by start_time.

Parameter
NameDescription
requestListRunsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRunsResponse>
public ListenableFuture<SearchLinksResponse> searchLinks(SearchLinksRequest request)

Retrieve a list of links connected to a specific asset. Links represent the data flow between source (upstream) and target (downstream) assets in transformation pipelines. Links are stored in the same project as the Lineage Events that create them. You can retrieve links in every project where you have the datalineage.events.get permission. The project provided in the URL is used for Billing and Quota.

Parameter
NameDescription
requestSearchLinksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchLinksResponse>

updateProcess(UpdateProcessRequest request)

public ListenableFuture<Process> updateProcess(UpdateProcessRequest request)

Updates a process.

Parameter
NameDescription
requestUpdateProcessRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Process>

updateRun(UpdateRunRequest request)

public ListenableFuture<Run> updateRun(UpdateRunRequest request)

Updates a run.

Parameter
NameDescription
requestUpdateRunRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Run>