@Override public void next() throws IOException { source.next(); consume(); }
@Override public void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException { if (columnFamilies instanceof Set<?>) { colFamSet = (Set<ByteSequence>) columnFamilies; } else { colFamSet = new HashSet<>(); colFamSet.addAll(columnFamilies); } if (inclusive) { sortedColFams = new TreeSet<>(colFamSet); } else { sortedColFams = null; } this.range = range; this.inclusive = inclusive; super.seek(range, colFamSet, inclusive); }
@Override public void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException { source.seek(range, columnFamilies, inclusive); consume(); }