maedhroz commented on code in PR #24:
URL: https://github.com/apache/cassandra-harry/pull/24#discussion_r1417670953
##########
harry-core/src/harry/data/ResultSetRow.java:
##########
@@ -32,20 +35,40 @@ public class ResultSetRow
public final long[] sds;
public final long[] slts;
+ public final List<Long> visited_lts;
+
+ private ResultSetRow(long pd,
+ long cd,
+ long[] sds,
+ long[] slts,
+ long[] vds,
+ long[] lts)
+ {
+ this(pd, cd, sds, slts, vds, lts, Collections.emptyList());
+ }
public ResultSetRow(long pd,
long cd,
long[] sds,
long[] slts,
long[] vds,
- long[] lts)
+ long[] lts,
+ List<Long> visited_lts)
{
+ assert slts.length == sds.length;
+ assert lts.length == vds.length;
this.pd = pd;
this.cd = cd;
this.vds = vds;
this.lts = lts;
this.sds = sds;
this.slts = slts;
+ this.visited_lts = visited_lts;
+ }
+
+ public boolean hasStaticColumns()
+ {
+ return slts.length > 0;
}
public ResultSetRow clone()
Review Comment:
nit: `@Override`
--
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]