Class SinkCallInput

java.lang.Object
org.gridgain.internal.cli.call.cdc.sink.SinkCallInput
All Implemented Interfaces:
org.apache.ignite.internal.cli.core.call.CallInput

public class SinkCallInput extends Object implements org.apache.ignite.internal.cli.core.call.CallInput
Input for create sink call.
  • Method Details

    • name

      public String name()
      Returns the name of the sink.
      Returns:
      Name of the sink.
    • clusterUrl

      public String clusterUrl()
      Returns the URL of the cluster.
      Returns:
      URL of the cluster.
    • type

      public org.apache.ignite.rest.client.model.SinkType type()
      Returns the type of the sink.
      Returns:
      SinkType of the sink.
    • params

      public Map<String,Object> params()
      Returns the parameters of the sink.
      Returns:
      Map of parameters.
    • createTableIfNotExists

      public boolean createTableIfNotExists()
      Returns whether to create the table if it does not exist.
      Returns:
      true if the table should be created if it does not exist, false otherwise.
    • builder

      public static SinkCallInput.SinkCallInputBuilder builder()
      Creates a builder for SinkCallInput.
      Returns:
      A new instance of SinkCallInput.SinkCallInputBuilder.