public static final class LineageGrpc.LineageStub extends AbstractAsyncStub<LineageGrpc.LineageStub>
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
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
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
build(Channel channel, CallOptions callOptions)
protected LineageGrpc.LineageStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
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
createProcess(CreateProcessRequest request, StreamObserver<Process> responseObserver)
public void createProcess(CreateProcessRequest request, StreamObserver<Process> responseObserver)
Parameters
createRun(CreateRunRequest request, StreamObserver<Run> responseObserver)
public void createRun(CreateRunRequest request, StreamObserver<Run> responseObserver)
Parameters
deleteLineageEvent(DeleteLineageEventRequest request, StreamObserver<Empty> responseObserver)
public void deleteLineageEvent(DeleteLineageEventRequest request, StreamObserver<Empty> responseObserver)
Deletes the lineage event with the specified name.
Parameters
deleteProcess(DeleteProcessRequest request, StreamObserver<Operation> responseObserver)
public void deleteProcess(DeleteProcessRequest request, StreamObserver<Operation> responseObserver)
Deletes the process with the specified name.
Parameters
deleteRun(DeleteRunRequest request, StreamObserver<Operation> responseObserver)
public void deleteRun(DeleteRunRequest request, StreamObserver<Operation> responseObserver)
Deletes the run with the specified name.
Parameters
getLineageEvent(GetLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)
public void getLineageEvent(GetLineageEventRequest request, StreamObserver<LineageEvent> responseObserver)
Gets details of a specified lineage event.
Parameters
getProcess(GetProcessRequest request, StreamObserver<Process> responseObserver)
public void getProcess(GetProcessRequest request, StreamObserver<Process> responseObserver)
Gets the details of the specified process.
Parameters
getRun(GetRunRequest request, StreamObserver<Run> responseObserver)
public void getRun(GetRunRequest request, StreamObserver<Run> responseObserver)
Gets the details of the specified run.
Parameters
Name | Description |
request | GetRunRequest
|
responseObserver | io.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
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
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
searchLinks(SearchLinksRequest request, StreamObserver<SearchLinksResponse> responseObserver)
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
updateProcess(UpdateProcessRequest request, StreamObserver<Process> responseObserver)
public void updateProcess(UpdateProcessRequest request, StreamObserver<Process> responseObserver)
Parameters
updateRun(UpdateRunRequest request, StreamObserver<Run> responseObserver)
public void updateRun(UpdateRunRequest request, StreamObserver<Run> responseObserver)
Parameters