Class ColumnPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.ColumnPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ColumnPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
list of columns to be added to a table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColumnPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
asPatch()
Construct a JSON merge-patch from the ColumnPatch.java.lang.String
columnName()
Gets the columnName.ColumnPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public ColumnPatch.Builder newBuilder()
New builder.- Returns:
- a ColumnPatch builder
-
columnName
public java.lang.String columnName()
Gets the columnName. Column name.- Returns:
- the columnName
-
asPatch
public java.util.Map<java.lang.String,java.lang.Object> asPatch()
Construct a JSON merge-patch from the ColumnPatch. Note that properties of the ColumnPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the ColumnPatch
-
-