Class LineageGrpc.LineageStub (0.9.0)

public static final class LineageGrpc.LineageStub extends AbstractAsyncStub<LineageGrpc.LineageStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > LineageGrpc.LineageStub

Methods

batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request, StreamObserver<BatchSearchLinkProcessesResponse> responseObserver)

public void batchSearchLinkProcesses(BatchSearchLinkProcessesRequest request, StreamObserver<BatchSearchLinkProcessesResponse> responseObserver)

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.

Parameters
NameDescription
requestBatchSearchLinkProcessesRequest
responseObserverio.grpc.stub.StreamObserver<BatchSearchLinkProcessesResponse>

build(Channel channel, CallOptions callOptions)

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

createLineageEvent(CreateLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)

public void createLineageEvent(CreateLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)

Creates a new lineage event.

Parameters
NameDescription
requestCreateLineageEventRequest
responseObserverio.grpc.stub.StreamObserver<LineageEvent>

createProcess(CreateProcessRequest request, StreamObserver<Process> responseObserver)

public void createProcess(CreateProcessRequest request, StreamObserver<Process> responseObserver)

Creates a new process.

Parameters
NameDescription
requestCreateProcessRequest
responseObserverio.grpc.stub.StreamObserver<Process>

createRun(CreateRunRequest request, StreamObserver<Run> responseObserver)

public void createRun(CreateRunRequest request, StreamObserver<Run> responseObserver)

Creates a new run.

Parameters
NameDescription
requestCreateRunRequest
responseObserverio.grpc.stub.StreamObserver<Run>

deleteLineageEvent(DeleteLineageEventRequest request, StreamObserver<Empty> responseObserver)

public void deleteLineageEvent(DeleteLineageEventRequest request, StreamObserver<Empty> responseObserver)

Deletes the lineage event with the specified name.

Parameters
NameDescription
requestDeleteLineageEventRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteProcess(DeleteProcessRequest request, StreamObserver<Operation> responseObserver)

public void deleteProcess(DeleteProcessRequest request, StreamObserver<Operation> responseObserver)

Deletes the process with the specified name.

Parameters
NameDescription
requestDeleteProcessRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRun(DeleteRunRequest request, StreamObserver<Operation> responseObserver)

public void deleteRun(DeleteRunRequest request, StreamObserver<Operation> responseObserver)

Deletes the run with the specified name.

Parameters
NameDescription
requestDeleteRunRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getLineageEvent(GetLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)

public void getLineageEvent(GetLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)

Gets details of a specified lineage event.

Parameters
NameDescription
requestGetLineageEventRequest
responseObserverio.grpc.stub.StreamObserver<LineageEvent>

getProcess(GetProcessRequest request, StreamObserver<Process> responseObserver)

public void getProcess(GetProcessRequest request, StreamObserver<Process> responseObserver)

Gets the details of the specified process.

Parameters
NameDescription
requestGetProcessRequest
responseObserverio.grpc.stub.StreamObserver<Process>

getRun(GetRunRequest request, StreamObserver<Run> responseObserver)

public void getRun(GetRunRequest request, StreamObserver<Run> responseObserver)

Gets the details of the specified run.

Parameters
NameDescription
requestGetRunRequest
responseObserverio.grpc.stub.StreamObserver<Run>

listLineageEvents(ListLineageEventsRequest request, StreamObserver<ListLineageEventsResponse> responseObserver)

public void listLineageEvents(ListLineageEventsRequest request, StreamObserver<ListLineageEventsResponse> responseObserver)

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

Parameters
NameDescription
requestListLineageEventsRequest
responseObserverio.grpc.stub.StreamObserver<ListLineageEventsResponse>

listProcesses(ListProcessesRequest request, StreamObserver<ListProcessesResponse> responseObserver)

public void listProcesses(ListProcessesRequest request, StreamObserver<ListProcessesResponse> responseObserver)

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

Parameters
NameDescription
requestListProcessesRequest
responseObserverio.grpc.stub.StreamObserver<ListProcessesResponse>

listRuns(ListRunsRequest request, StreamObserver<ListRunsResponse> responseObserver)

public void listRuns(ListRunsRequest request, StreamObserver<ListRunsResponse> responseObserver)

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

Parameters
NameDescription
requestListRunsRequest
responseObserverio.grpc.stub.StreamObserver<ListRunsResponse>
public void searchLinks(SearchLinksRequest request, StreamObserver<SearchLinksResponse> responseObserver)

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.

Parameters
NameDescription
requestSearchLinksRequest
responseObserverio.grpc.stub.StreamObserver<SearchLinksResponse>

updateProcess(UpdateProcessRequest request, StreamObserver<Process> responseObserver)

public void updateProcess(UpdateProcessRequest request, StreamObserver<Process> responseObserver)

Updates a process.

Parameters
NameDescription
requestUpdateProcessRequest
responseObserverio.grpc.stub.StreamObserver<Process>

updateRun(UpdateRunRequest request, StreamObserver<Run> responseObserver)

public void updateRun(UpdateRunRequest request, StreamObserver<Run> responseObserver)

Updates a run.

Parameters
NameDescription
requestUpdateRunRequest
responseObserverio.grpc.stub.StreamObserver<Run>