@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one group // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && !hasReturnedRowsFromCurrentPartition) { incrementRowCount(); incrementGroupCount(); incrementGroupInCurrentPartitionCount(); hasGroupStarted = false; } super.onPartitionClose(); }
@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one group // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && !hasReturnedRowsFromCurrentPartition) { incrementRowCount(); incrementGroupCount(); incrementGroupInCurrentPartitionCount(); hasGroupStarted = false; } super.onPartitionClose(); }
@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one group // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && !hasReturnedRowsFromCurrentPartition) { incrementRowCount(); incrementGroupCount(); incrementGroupInCurrentPartitionCount(); hasGroupStarted = false; } super.onPartitionClose(); }
@Override public void onPartitionClose() { if (++partitionsCounted >= partitionLimit) stop(); super.onPartitionClose(); }
@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one row // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && rowInCurrentPartition == 0) incrementRowCount(); super.onPartitionClose(); }
@Override public void onPartitionClose() { if (++partitionsCounted >= partitionLimit) stop(); super.onPartitionClose(); }
@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one row // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && rowInCurrentPartition == 0) incrementRowCount(); super.onPartitionClose(); }
@Override public void onPartitionClose() { if (++partitionsCounted >= partitionLimit) stop(); super.onPartitionClose(); }
@Override public void onPartitionClose() { // Normally, we don't count static rows as from a CQL point of view, it will be merge with other // rows in the partition. However, if we only have the static row, it will be returned as one row // so count it. if (countPartitionsWithOnlyStaticData && hasLiveStaticRow && rowInCurrentPartition == 0) incrementRowCount(); super.onPartitionClose(); }