Class LineageGrpc.LineageBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<LineageGrpc.LineageBlockingStub>
com.google.cloud.datacatalog.lineage.v1.LineageGrpc.LineageBlockingStub
- Enclosing class:
- LineageGrpc
public static final class LineageGrpc.LineageBlockingStub
extends io.grpc.stub.AbstractBlockingStub<LineageGrpc.LineageBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Lineage.
Lineage is used to track data flows between assets over time. You can create [LineageEvents][google.cloud.datacatalog.lineage.v1.LineageEvent] to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionRetrieve information about LineageProcesses associated with specific links.protected LineageGrpc.LineageBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new lineage event.createProcess(CreateProcessRequest request) Creates a new process.createRun(CreateRunRequest request) Creates a new run.com.google.protobuf.EmptyDeletes the lineage event with the specified name.deleteProcess(DeleteProcessRequest request) Deletes the process with the specified name.deleteRun(DeleteRunRequest request) Deletes the run with the specified name.getLineageEvent(GetLineageEventRequest request) Gets details of a specified lineage event.getProcess(GetProcessRequest request) Gets the details of the specified process.getRun(GetRunRequest request) Gets the details of the specified run.Lists lineage events in the given project and location.listProcesses(ListProcessesRequest request) List processes in the given project and location.listRuns(ListRunsRequest request) Lists runs in the given project and location.Creates new lineage events together with their parents: process and run.searchLinks(SearchLinksRequest request) Retrieve a list of links connected to a specific asset.updateProcess(UpdateProcessRequest request) Updates a process.updateRun(UpdateRunRequest request) Updates a run.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected LineageGrpc.LineageBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LineageGrpc.LineageBlockingStub>
-
processOpenLineageRunEvent
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.
-
createProcess
Creates a new process.
-
updateProcess
Updates a process.
-
getProcess
Gets the details of the specified process.
-
listProcesses
List processes in the given project and location. List order is descending by insertion time.
-
deleteProcess
Deletes the process with the specified name.
-
createRun
Creates a new run.
-
updateRun
Updates a run.
-
getRun
Gets the details of the specified run.
-
listRuns
Lists runs in the given project and location. List order is descending by `start_time`.
-
deleteRun
Deletes the run with the specified name.
-
createLineageEvent
Creates a new lineage event.
-
getLineageEvent
Gets details of a specified lineage event.
-
listLineageEvents
Lists lineage events in the given project and location. The list order is not defined.
-
deleteLineageEvent
Deletes the lineage event with the specified name.
-
searchLinks
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.
-
batchSearchLinkProcesses
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][google.cloud.datacatalog.lineage.v1.Lineage.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.
-