public class HttpJsonLineageStub extends LineageStub
REST stub implementation for the Lineage service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonLineageStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonLineageStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLineageStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonLineageStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(LineageStubSettings settings)
public static final HttpJsonLineageStub create(LineageStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | LineageStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonLineageStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonLineageStub(LineageStubSettings settings, ClientContext clientContext)
protected HttpJsonLineageStub(LineageStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonLineageStub, 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 | |
---|---|
Name | Description |
settings | LineageStubSettings |
clientContext | ClientContext |
HttpJsonLineageStub(LineageStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonLineageStub(LineageStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLineageStub, 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 | |
---|---|
Name | Description |
settings | LineageStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
batchSearchLinkProcessesCallable()
public UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse> batchSearchLinkProcessesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesResponse> |
batchSearchLinkProcessesPagedCallable()
public UnaryCallable<BatchSearchLinkProcessesRequest,LineageClient.BatchSearchLinkProcessesPagedResponse> batchSearchLinkProcessesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BatchSearchLinkProcessesRequest,BatchSearchLinkProcessesPagedResponse> |
close()
public final void close()
createLineageEventCallable()
public UnaryCallable<CreateLineageEventRequest,LineageEvent> createLineageEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateLineageEventRequest,LineageEvent> |
createProcessCallable()
public UnaryCallable<CreateProcessRequest,Process> createProcessCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateProcessRequest,Process> |
createRunCallable()
public UnaryCallable<CreateRunRequest,Run> createRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRunRequest,Run> |
deleteLineageEventCallable()
public UnaryCallable<DeleteLineageEventRequest,Empty> deleteLineageEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteLineageEventRequest,Empty> |
deleteProcessCallable()
public UnaryCallable<DeleteProcessRequest,Operation> deleteProcessCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteProcessRequest,Operation> |
deleteProcessOperationCallable()
public OperationCallable<DeleteProcessRequest,Empty,OperationMetadata> deleteProcessOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteProcessRequest,Empty,OperationMetadata> |
deleteRunCallable()
public UnaryCallable<DeleteRunRequest,Operation> deleteRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRunRequest,Operation> |
deleteRunOperationCallable()
public OperationCallable<DeleteRunRequest,Empty,OperationMetadata> deleteRunOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRunRequest,Empty,OperationMetadata> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getLineageEventCallable()
public UnaryCallable<GetLineageEventRequest,LineageEvent> getLineageEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetLineageEventRequest,LineageEvent> |
getProcessCallable()
public UnaryCallable<GetProcessRequest,Process> getProcessCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetProcessRequest,Process> |
getRunCallable()
public UnaryCallable<GetRunRequest,Run> getRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRunRequest,Run> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listLineageEventsCallable()
public UnaryCallable<ListLineageEventsRequest,ListLineageEventsResponse> listLineageEventsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLineageEventsRequest,ListLineageEventsResponse> |
listLineageEventsPagedCallable()
public UnaryCallable<ListLineageEventsRequest,LineageClient.ListLineageEventsPagedResponse> listLineageEventsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLineageEventsRequest,ListLineageEventsPagedResponse> |
listProcessesCallable()
public UnaryCallable<ListProcessesRequest,ListProcessesResponse> listProcessesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProcessesRequest,ListProcessesResponse> |
listProcessesPagedCallable()
public UnaryCallable<ListProcessesRequest,LineageClient.ListProcessesPagedResponse> listProcessesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListProcessesRequest,ListProcessesPagedResponse> |
listRunsCallable()
public UnaryCallable<ListRunsRequest,ListRunsResponse> listRunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRunsRequest,ListRunsResponse> |
listRunsPagedCallable()
public UnaryCallable<ListRunsRequest,LineageClient.ListRunsPagedResponse> listRunsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRunsRequest,ListRunsPagedResponse> |
processOpenLineageRunEventCallable()
public UnaryCallable<ProcessOpenLineageRunEventRequest,ProcessOpenLineageRunEventResponse> processOpenLineageRunEventCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ProcessOpenLineageRunEventRequest,ProcessOpenLineageRunEventResponse> |
searchLinksCallable()
public UnaryCallable<SearchLinksRequest,SearchLinksResponse> searchLinksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchLinksRequest,SearchLinksResponse> |
searchLinksPagedCallable()
public UnaryCallable<SearchLinksRequest,LineageClient.SearchLinksPagedResponse> searchLinksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchLinksRequest,SearchLinksPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateProcessCallable()
public UnaryCallable<UpdateProcessRequest,Process> updateProcessCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateProcessRequest,Process> |
updateRunCallable()
public UnaryCallable<UpdateRunRequest,Run> updateRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRunRequest,Run> |