Class LineageGrpc.LineageBlockingStub (0.25.0)

public static final class LineageGrpc.LineageBlockingStub extends AbstractBlockingStub<LineageGrpc.LineageBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > LineageGrpc.LineageBlockingStub

Methods

batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request)

public 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
BatchSearchLinkProcessesResponse

build(Channel channel, CallOptions callOptions)

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

createLineageEvent(CreateLineageEventRequest request)

public LineageEvent createLineageEvent(CreateLineageEventRequest request)

Creates a new lineage event.

Parameter
NameDescription
requestCreateLineageEventRequest
Returns
TypeDescription
LineageEvent

createProcess(CreateProcessRequest request)

public Process createProcess(CreateProcessRequest request)

Creates a new process.

Parameter
NameDescription
requestCreateProcessRequest
Returns
TypeDescription
Process

createRun(CreateRunRequest request)

public Run createRun(CreateRunRequest request)

Creates a new run.

Parameter
NameDescription
requestCreateRunRequest
Returns
TypeDescription
Run

deleteLineageEvent(DeleteLineageEventRequest request)

public Empty deleteLineageEvent(DeleteLineageEventRequest request)

Deletes the lineage event with the specified name.

Parameter
NameDescription
requestDeleteLineageEventRequest
Returns
TypeDescription
Empty

deleteProcess(DeleteProcessRequest request)

public Operation deleteProcess(DeleteProcessRequest request)

Deletes the process with the specified name.

Parameter
NameDescription
requestDeleteProcessRequest
Returns
TypeDescription
Operation

deleteRun(DeleteRunRequest request)

public Operation deleteRun(DeleteRunRequest request)

Deletes the run with the specified name.

Parameter
NameDescription
requestDeleteRunRequest
Returns
TypeDescription
Operation

getLineageEvent(GetLineageEventRequest request)

public LineageEvent getLineageEvent(GetLineageEventRequest request)

Gets details of a specified lineage event.

Parameter
NameDescription
requestGetLineageEventRequest
Returns
TypeDescription
LineageEvent

getProcess(GetProcessRequest request)

public Process getProcess(GetProcessRequest request)

Gets the details of the specified process.

Parameter
NameDescription
requestGetProcessRequest
Returns
TypeDescription
Process

getRun(GetRunRequest request)

public Run getRun(GetRunRequest request)

Gets the details of the specified run.

Parameter
NameDescription
requestGetRunRequest
Returns
TypeDescription
Run

listLineageEvents(ListLineageEventsRequest request)

public ListLineageEventsResponse listLineageEvents(ListLineageEventsRequest request)

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

Parameter
NameDescription
requestListLineageEventsRequest
Returns
TypeDescription
ListLineageEventsResponse

listProcesses(ListProcessesRequest request)

public ListProcessesResponse listProcesses(ListProcessesRequest request)

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

Parameter
NameDescription
requestListProcessesRequest
Returns
TypeDescription
ListProcessesResponse

listRuns(ListRunsRequest request)

public ListRunsResponse listRuns(ListRunsRequest request)

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

Parameter
NameDescription
requestListRunsRequest
Returns
TypeDescription
ListRunsResponse

processOpenLineageRunEvent(ProcessOpenLineageRunEventRequest request)

public 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
NameDescription
requestProcessOpenLineageRunEventRequest
Returns
TypeDescription
ProcessOpenLineageRunEventResponse
public 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
SearchLinksResponse

updateProcess(UpdateProcessRequest request)

public Process updateProcess(UpdateProcessRequest request)

Updates a process.

Parameter
NameDescription
requestUpdateProcessRequest
Returns
TypeDescription
Process

updateRun(UpdateRunRequest request)

public Run updateRun(UpdateRunRequest request)

Updates a run.

Parameter
NameDescription
requestUpdateRunRequest
Returns
TypeDescription
Run