Class TableUpdateOperation
java.lang.Object
com.datastax.astra.client.tables.definition.rows.Row
com.datastax.astra.client.tables.commands.TableUpdateOperation
- All Implemented Interfaces:
Serializable
Encore the update document
- See Also:
-
Field Summary
Fields inherited from class com.datastax.astra.client.tables.definition.rows.Row
columnMap, SERIALIZER
-
Constructor Summary
ConstructorDescriptionDefault constructor.TableUpdateOperation
(String json) Default constructor.TableUpdateOperation
(Map<String, Object> obj) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionSet all elements of a rowBuilder pattern, set a field valueBuilder patternBuilder pattern, unset a fieldMethods inherited from class com.datastax.astra.client.tables.definition.rows.Row
add, addAscii, addBigInt, addBlob, addBoolean, addDate, addDecimal, addDouble, addDuration, addDuration, addDuration, addFloat, addInet, addInt, addList, addLocalDate, addMap, addSet, addSmallInt, addTableDuration, addText, addTime, addTimeStamp, addTinyInt, addUUID, addVarInt, addVector, addVector, addVectorize, containsKey, create, equals, get, get, getArray, getAscii, getBigInt, getBoolean, getByte, getCalendar, getCharacter, getColumnMap, getDate, getDate, getDouble, getFloat, getInstant, getInteger, getList, getShort, getText, getUUID, getVector, hashCode, map, parse, put, putAll, putAll, setProperty, toString
-
Constructor Details
-
TableUpdateOperation
public TableUpdateOperation()Default constructor. -
TableUpdateOperation
Default constructor.- Parameters:
json
- filter expression as JSON
-
TableUpdateOperation
Default constructor.- Parameters:
obj
- filter expression as JSON
-
-
Method Details
-
unset
Builder pattern- Parameters:
fields
- fields name- Returns:
- reference to self
-
unset
Builder pattern, unset a field- Parameters:
field
- field namevalue
- filed value- Returns:
- reference to self
-
set
Builder pattern, set a field value- Parameters:
key
- field namevalue
- filed value- Returns:
- reference to self
-
set
Set all elements of a row- Parameters:
row
- ` new value for row- Returns:
- reference to self
-