code: public static List<Object> getRowKeys(List<KeySlice> keySlices, EntityMetadata metadata)
      {
          PropertyAccessor<?> accessor = PropertyAccessorFactory.getPropertyAccessor((Field) metadata.getIdAttribute()
                  .getJavaMember());
          List<Object> rowKeys = new ArrayList<Object>();
          for (KeySlice keySlice : keySlices)
          {
              byte[] key = keySlice.getKey();
              Object rowKey = accessor.fromBytes(metadata.getIdAttribute().getJavaType(), key);
              rowKeys.add(rowKey);
          }
          return rowKeys;
      }
docs: Fetches Row keys from a {@link List} of {@link KeySlice}.
  
  @param keySlices the key slices
  @param metadata the metadata
  @return the row keys