Created
July 20, 2022 03:30
-
-
Save brfrn169/717ef5d2249f258532c6b436da8d05d4 to your computer and use it in GitHub Desktop.
Example of Put with NULL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Put put = | |
Put.newBuilder() | |
.namespace("ns") | |
.table("tbl") | |
.partitionKey(Key.ofInt("c1", 10)) | |
.clusteringKey(Key.of("c2", "aaa", "c3", 100L)) | |
.booleanValue("c1", null) | |
.intValue("c2", null) | |
.bigIntValue("c3", null) | |
.floatValue("c4", null) | |
.doubleValue("c5", null) | |
.textValue("c6", null) | |
.blobValue("c7", null) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment