Class DataScanServiceGrpc.DataScanServiceFutureStub (1.40.0)

public static final class DataScanServiceGrpc.DataScanServiceFutureStub extends AbstractFutureStub<DataScanServiceGrpc.DataScanServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service DataScanService.

DataScanService manages DataScan resources which can be configured to run various types of data scanning workload and generate enriched metadata (e.g. Data Profile, Data Quality) for the data source.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DataScanServiceGrpc.DataScanServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataScanServiceGrpc.DataScanServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DataScanServiceGrpc.DataScanServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDataScan(CreateDataScanRequest request)

public ListenableFuture<Operation> createDataScan(CreateDataScanRequest request)

Creates a DataScan resource.

Parameter
Name Description
request CreateDataScanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDataScan(DeleteDataScanRequest request)

public ListenableFuture<Operation> deleteDataScan(DeleteDataScanRequest request)

Deletes a DataScan resource.

Parameter
Name Description
request DeleteDataScanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

generateDataQualityRules(GenerateDataQualityRulesRequest request)

public ListenableFuture<GenerateDataQualityRulesResponse> generateDataQualityRules(GenerateDataQualityRulesRequest request)

Generates recommended DataQualityRule from a data profiling DataScan.

Parameter
Name Description
request GenerateDataQualityRulesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateDataQualityRulesResponse>

getDataScan(GetDataScanRequest request)

public ListenableFuture<DataScan> getDataScan(GetDataScanRequest request)

Gets a DataScan resource.

Parameter
Name Description
request GetDataScanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DataScan>

getDataScanJob(GetDataScanJobRequest request)

public ListenableFuture<DataScanJob> getDataScanJob(GetDataScanJobRequest request)

Gets a DataScanJob resource.

Parameter
Name Description
request GetDataScanJobRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DataScanJob>

listDataScanJobs(ListDataScanJobsRequest request)

public ListenableFuture<ListDataScanJobsResponse> listDataScanJobs(ListDataScanJobsRequest request)

Lists DataScanJobs under the given DataScan.

Parameter
Name Description
request ListDataScanJobsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDataScanJobsResponse>

listDataScans(ListDataScansRequest request)

public ListenableFuture<ListDataScansResponse> listDataScans(ListDataScansRequest request)

Lists DataScans.

Parameter
Name Description
request ListDataScansRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDataScansResponse>

runDataScan(RunDataScanRequest request)

public ListenableFuture<RunDataScanResponse> runDataScan(RunDataScanRequest request)

Runs an on-demand execution of a DataScan

Parameter
Name Description
request RunDataScanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RunDataScanResponse>

updateDataScan(UpdateDataScanRequest request)

public ListenableFuture<Operation> updateDataScan(UpdateDataScanRequest request)

Updates a DataScan resource.

Parameter
Name Description
request UpdateDataScanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>