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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forSinkCallInput.Returns the URL of the cluster.booleanReturns whether to create the table if it does not exist.booleanReturns whether experimental sink types are allowed for this call.name()Returns the name of the sink.params()Returns the parameters of the sink.org.apache.ignite.rest.client.model.SinkTypetype()Returns the type of the sink.
-
Method Details
-
name
Returns the name of the sink.- Returns:
- Name of the sink.
-
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:
SinkTypeof the sink.
-
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:
trueif the table should be created if it does not exist,falseotherwise.
-
experimental
public boolean experimental()Returns whether experimental sink types are allowed for this call.- Returns:
trueif the--experimentalflag was set.
-
builder
Creates a builder forSinkCallInput.- Returns:
- A new instance of
SinkCallInput.SinkCallInputBuilder.
-