Class DataSetController

java.lang.Object
cn.sliew.flinkful.rest.client.controller.DataSetController

@RestController @RequestMapping("/flinkful/datasets") public class DataSetController extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    CompletableFuture<org.apache.flink.runtime.rest.messages.dataset.ClusterDataSetListResponseBody>
    https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets
    CompletableFuture<org.apache.flink.runtime.rest.handler.async.TriggerResponse>
    delete(String dataSetId)
    https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets-datasetid
    CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>>
    deleteStatus(String triggerId)
    https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets-delete-triggerid

    Methods inherited from class java.lang.Object

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

    • DataSetController

      public DataSetController()
  • Method Details

    • datasets

      @GetMapping public CompletableFuture<org.apache.flink.runtime.rest.messages.dataset.ClusterDataSetListResponseBody> datasets() throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets
      Throws:
      IOException
    • delete

      @DeleteMapping("/{dataSetId}") public CompletableFuture<org.apache.flink.runtime.rest.handler.async.TriggerResponse> delete(@PathVariable("dataSetId") String dataSetId) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets-datasetid
      Throws:
      IOException
    • deleteStatus

      @GetMapping("/delete/{triggerId}") public CompletableFuture<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationResult<org.apache.flink.runtime.rest.handler.async.AsynchronousOperationInfo>> deleteStatus(@PathVariable("triggerId") String triggerId) throws IOException
      https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/rest_api/#datasets-delete-triggerid
      Throws:
      IOException