Package cn.sliew.flinkful.rest.http
Class DataSetHttpClient
- java.lang.Object
-
- cn.sliew.flinkful.rest.http.AsyncClient
-
- cn.sliew.flinkful.rest.http.DataSetHttpClient
-
- All Implemented Interfaces:
cn.sliew.flinkful.rest.base.DataSetClient
public class DataSetHttpClient extends AsyncClient implements cn.sliew.flinkful.rest.base.DataSetClient
-
-
Constructor Summary
Constructors Constructor Description DataSetHttpClient(okhttp3.OkHttpClient client, java.lang.String webInterfaceURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.dataset.ClusterDataSetListResponseBody>datasets()java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.TriggerResponse>deleteDataSet(java.lang.String datasetId)java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>>deleteDataSetStatus(java.lang.String triggerId)-
Methods inherited from class cn.sliew.flinkful.rest.http.AsyncClient
remoteCall, remoteCall, remoteCall
-
-
-
-
Method Detail
-
datasets
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.dataset.ClusterDataSetListResponseBody> datasets() throws java.io.IOException- Specified by:
datasetsin interfacecn.sliew.flinkful.rest.base.DataSetClient- Throws:
java.io.IOException
-
deleteDataSet
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.TriggerResponse> deleteDataSet(java.lang.String datasetId) throws java.io.IOException- Specified by:
deleteDataSetin interfacecn.sliew.flinkful.rest.base.DataSetClient- Throws:
java.io.IOException
-
deleteDataSetStatus
public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>> deleteDataSetStatus(java.lang.String triggerId) throws java.io.IOException- Specified by:
deleteDataSetStatusin interfacecn.sliew.flinkful.rest.base.DataSetClient- Throws:
java.io.IOException
-
-