lukasz-antoniak commented on code in PR #1964:
URL:
https://github.com/apache/cassandra-java-driver/pull/1964#discussion_r1792983827
##########
query-builder/src/main/java/com/datastax/oss/driver/api/querybuilder/schema/RelationOptions.java:
##########
@@ -336,4 +337,11 @@ default SelfT withReadRepairChance(double
readRepairChance) {
default SelfT withSpeculativeRetry(@NonNull String speculativeRetry) {
return withOption("speculative_retry", speculativeRetry);
}
+
+ /** Attaches custom metadata to CQL table definition. */
+ @NonNull
+ @CheckReturnValue
+ default SelfT withExtensions(@NonNull Map<String, byte[]> extensions) {
+ return withOption("extensions", extensions);
+ }
Review Comment:
I have tried to make `CqlLiteral ` more reusable. Can you review now?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]