Class GrpcLineageStub (0.19.0)

public class GrpcLineageStub extends LineageStub

gRPC stub implementation for the Lineage service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > LineageStub > GrpcLineageStub

Static Methods

create(ClientContext clientContext)

public static final GrpcLineageStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcLineageStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLineageStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcLineageStub
Exceptions
TypeDescription
IOException

create(LineageStubSettings settings)

public static final GrpcLineageStub create(LineageStubSettings settings)
Parameter
NameDescription
settingsLineageStubSettings
Returns
TypeDescription
GrpcLineageStub
Exceptions
TypeDescription
IOException

Constructors

GrpcLineageStub(LineageStubSettings settings, ClientContext clientContext)

protected GrpcLineageStub(LineageStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcLineageStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsLineageStubSettings
clientContextClientContext

GrpcLineageStub(LineageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcLineageStub(LineageStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcLineageStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsLineageStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchSearchLinkProcessesCallable()

public UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse> batchSearchLinkProcessesCallable()
Returns
TypeDescription
UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse>
Overrides

batchSearchLinkProcessesPagedCallable()

public UnaryCallable<BatchSearchLinkProcessesRequest,LineageClient.BatchSearchLinkProcessesPagedResponse> batchSearchLinkProcessesPagedCallable()
Returns
TypeDescription
UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesPagedResponse>
Overrides

close()

public final void close()
Overrides

createLineageEventCallable()

public UnaryCallable<CreateLineageEventRequest,LineageEvent> createLineageEventCallable()
Returns
TypeDescription
UnaryCallable<CreateLineageEventRequest,LineageEvent>
Overrides

createProcessCallable()

public UnaryCallable<CreateProcessRequest,Process> createProcessCallable()
Returns
TypeDescription
UnaryCallable<CreateProcessRequest,Process>
Overrides

createRunCallable()

public UnaryCallable<CreateRunRequest,Run> createRunCallable()
Returns
TypeDescription
UnaryCallable<CreateRunRequest,Run>
Overrides

deleteLineageEventCallable()

public UnaryCallable<DeleteLineageEventRequest,Empty> deleteLineageEventCallable()
Returns
TypeDescription
UnaryCallable<DeleteLineageEventRequest,Empty>
Overrides

deleteProcessCallable()

public UnaryCallable<DeleteProcessRequest,Operation> deleteProcessCallable()
Returns
TypeDescription
UnaryCallable<DeleteProcessRequest,Operation>
Overrides

deleteProcessOperationCallable()

public OperationCallable<DeleteProcessRequest,Empty,OperationMetadata> deleteProcessOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteProcessRequest,Empty,OperationMetadata>
Overrides

deleteRunCallable()

public UnaryCallable<DeleteRunRequest,Operation> deleteRunCallable()
Returns
TypeDescription
UnaryCallable<DeleteRunRequest,Operation>
Overrides

deleteRunOperationCallable()

public OperationCallable<DeleteRunRequest,Empty,OperationMetadata> deleteRunOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRunRequest,Empty,OperationMetadata>
Overrides

getLineageEventCallable()

public UnaryCallable<GetLineageEventRequest,LineageEvent> getLineageEventCallable()
Returns
TypeDescription
UnaryCallable<GetLineageEventRequest,LineageEvent>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getProcessCallable()

public UnaryCallable<GetProcessRequest,Process> getProcessCallable()
Returns
TypeDescription
UnaryCallable<GetProcessRequest,Process>
Overrides

getRunCallable()

public UnaryCallable<GetRunRequest,Run> getRunCallable()
Returns
TypeDescription
UnaryCallable<GetRunRequest,Run>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listLineageEventsCallable()

public UnaryCallable<ListLineageEventsRequest,ListLineageEventsResponse> listLineageEventsCallable()
Returns
TypeDescription
UnaryCallable<ListLineageEventsRequest,ListLineageEventsResponse>
Overrides

listLineageEventsPagedCallable()

public UnaryCallable<ListLineageEventsRequest,LineageClient.ListLineageEventsPagedResponse> listLineageEventsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListLineageEventsRequest,ListLineageEventsPagedResponse>
Overrides

listProcessesCallable()

public UnaryCallable<ListProcessesRequest,ListProcessesResponse> listProcessesCallable()
Returns
TypeDescription
UnaryCallable<ListProcessesRequest,ListProcessesResponse>
Overrides

listProcessesPagedCallable()

public UnaryCallable<ListProcessesRequest,LineageClient.ListProcessesPagedResponse> listProcessesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListProcessesRequest,ListProcessesPagedResponse>
Overrides

listRunsCallable()

public UnaryCallable<ListRunsRequest,ListRunsResponse> listRunsCallable()
Returns
TypeDescription
UnaryCallable<ListRunsRequest,ListRunsResponse>
Overrides

listRunsPagedCallable()

public UnaryCallable<ListRunsRequest,LineageClient.ListRunsPagedResponse> listRunsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRunsRequest,ListRunsPagedResponse>
Overrides

searchLinksCallable()

public UnaryCallable<SearchLinksRequest,SearchLinksResponse> searchLinksCallable()
Returns
TypeDescription
UnaryCallable<SearchLinksRequest,SearchLinksResponse>
Overrides

searchLinksPagedCallable()

public UnaryCallable<SearchLinksRequest,LineageClient.SearchLinksPagedResponse> searchLinksPagedCallable()
Returns
TypeDescription
UnaryCallable<SearchLinksRequest,SearchLinksPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateProcessCallable()

public UnaryCallable<UpdateProcessRequest,Process> updateProcessCallable()
Returns
TypeDescription
UnaryCallable<UpdateProcessRequest,Process>
Overrides

updateRunCallable()

public UnaryCallable<UpdateRunRequest,Run> updateRunCallable()
Returns
TypeDescription
UnaryCallable<UpdateRunRequest,Run>
Overrides