throw new UnsupportedOperationException("bug, this is not an index row");
}
public Collection<Column> columnSlice(byte[] from, byte[] to) {
NavigableMap<ByteArray, Column> map = columns;
if(from != null) {
ByteArray fromArray = new ByteArray(from);
map = columns.tailMap(fromArray, true);
}
if(to != null) {
ByteArray toArray = new ByteArray(to);
map = map.headMap(toArray, true);
}
List<Column> list = deepCopy(map.values());