Class LineageGrpc.LineageFutureStub (0.40.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
Name Description
request BatchSearchLinkProcessesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BatchSearchLinkProcessesResponse>

build(Channel channel, CallOptions callOptions)

protected LineageGrpc.LineageFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateLineageEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LineageEvent>

createProcess(CreateProcessRequest request)

public ListenableFuture<Process> createProcess(CreateProcessRequest request)

Creates a new process.

Parameter
Name Description
request CreateProcessRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Process>

createRun(CreateRunRequest request)

public ListenableFuture<Run> createRun(CreateRunRequest request)

Creates a new run.

Parameter
Name Description
request CreateRunRequest
Returns
Type Description
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
Name Description
request DeleteLineageEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteProcess(DeleteProcessRequest request)

public ListenableFuture<Operation> deleteProcess(DeleteProcessRequest request)

Deletes the process with the specified name.

Parameter
Name Description
request DeleteProcessRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRun(DeleteRunRequest request)

public ListenableFuture<Operation> deleteRun(DeleteRunRequest request)

Deletes the run with the specified name.

Parameter
Name Description
request DeleteRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getLineageEvent(GetLineageEventRequest request)

public ListenableFuture<LineageEvent> getLineageEvent(GetLineageEventRequest request)

Gets details of a specified lineage event.

Parameter
Name Description
request GetLineageEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LineageEvent>

getProcess(GetProcessRequest request)

public ListenableFuture<Process> getProcess(GetProcessRequest request)

Gets the details of the specified process.

Parameter
Name Description
request GetProcessRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Process>

getRun(GetRunRequest request)

public ListenableFuture<Run> getRun(GetRunRequest request)

Gets the details of the specified run.

Parameter
Name Description
request GetRunRequest
Returns
Type Description
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
Name Description
request ListLineageEventsRequest
Returns
Type Description
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
Name Description
request ListProcessesRequest
Returns
Type Description
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
Name Description
request ListRunsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRunsResponse>

processOpenLineageRunEvent(ProcessOpenLineageRunEventRequest request)

public ListenableFuture<ProcessOpenLineageRunEventResponse> processOpenLineageRunEvent(ProcessOpenLineageRunEventRequest request)

Creates new lineage events together with their parents: process and run. Updates the process and run if they already exist. Mapped from Open Lineage specification: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.

Parameter
Name Description
request ProcessOpenLineageRunEventRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ProcessOpenLineageRunEventResponse>
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
Name Description
request SearchLinksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchLinksResponse>

updateProcess(UpdateProcessRequest request)

public ListenableFuture<Process> updateProcess(UpdateProcessRequest request)

Updates a process.

Parameter
Name Description
request UpdateProcessRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Process>

updateRun(UpdateRunRequest request)

public ListenableFuture<Run> updateRun(UpdateRunRequest request)

Updates a run.

Parameter
Name Description
request UpdateRunRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Run>