dcapwell commented on code in PR #2056:
URL: https://github.com/apache/cassandra/pull/2056#discussion_r1066303971
##########
test/distributed/org/apache/cassandra/distributed/api/Row.java:
##########
@@ -170,26 +282,75 @@ public UUID getUUID(String name)
return (UUID) uuid;
}
+ public UUID getUUID(String name, UUID defaultValue)
+ {
+ Object uuid = get(name, defaultValue);
+ if (uuid instanceof TimeUUID)
+ return ((TimeUUID) uuid).asUUID();
+ return (UUID) uuid;
+ }
+
public Date getTimestamp(int index)
{
return get(index);
}
+ public Date getTimestamp(int index, Date defaultValue)
+ {
+ return get(index, defaultValue);
+ }
+
public Date getTimestamp(String name)
{
return get(name);
}
+ public Date getTimestamp(String name, Date defaultValue)
+ {
+ return get(name, defaultValue);
+ }
+
public <T> Set<T> getSet(int index)
{
return get(index);
}
+ public <T> Set<T> getSet(int index, Set<T> defaultValue)
+ {
+ return get(index, defaultValue);
+ }
+
public <T> Set<T> getSet(String name)
{
return get(name);
}
+ public <T> Set<T> getSet(String name, Set<T> defaultValue)
+ {
+ return get(name, defaultValue);
+ }
+
+ // HERE
Review Comment:
I honestly don't remember; removed
--
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]