class IndexScanner extends ThemisScanner {

  protected static ThemisGet constructDataRowGet(byte[] row, ThemisGet dataGet) throws IOException {
    ThemisGet get = new ThemisGet(row);
    for (Entry<byte[], NavigableSet<byte[]>> columns : dataGet.getFamilyMap().entrySet()) {
      byte[] family = columns.getKey();
      if (columns.getValue() != null && columns.getValue().size() > 0) {
        for (byte[] qualifier : columns.getValue()) {
          get.addColumn(family, qualifier);
        }
      } else {
        get.addFamily(family);
      }
    }
    get.setFilter(dataGet.getFilter());
    get.setCacheBlocks(dataGet.getCacheBlocks());
    return get;
  }

  public  IndexScanner(String indexTableName, IndexRead indexRead, Transaction transaction);

}