Class 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataSetHttpClient

        public DataSetHttpClient​(okhttp3.OkHttpClient client,
                                 java.lang.String webInterfaceURL)
    • Method Detail

      • datasets

        public java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.dataset.ClusterDataSetListResponseBody> datasets()
                                                                                                                                       throws java.io.IOException
        Specified by:
        datasets in interface cn.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:
        deleteDataSet in interface cn.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:
        deleteDataSetStatus in interface cn.sliew.flinkful.rest.base.DataSetClient
        Throws:
        java.io.IOException