code: @Override
      public Object fromThriftRow(Class<?> clazz, EntityMetadata m, Object rowKey, List<String> relationNames,
              boolean isWrapReq, ConsistencyLevel consistencyLevel) throws Exception
      {
          Object e = null;
          SlicePredicate predicate = new SlicePredicate();
          predicate.setSlice_range(new SliceRange(ByteBufferUtil.EMPTY_BYTE_BUFFER, ByteBufferUtil.EMPTY_BYTE_BUFFER,
                  true, 10000));
  
          ByteBuffer key = ByteBuffer.wrap(PropertyAccessorHelper.toBytes(rowKey, m.getIdAttribute().getJavaType()));
          Connection conn = thriftClient.getConnection();
          try
          {
              MetamodelImpl metaModel = (MetamodelImpl) kunderaMetadata.getApplicationMetadata().getMetamodel(
                      m.getPersistenceUnit());
  
              AbstractManagedType managedType = (AbstractManagedType) metaModel.entity(m.getEntityClazz());
  
              // For secondary tables.
              List<String> secondaryTables = ((DefaultEntityAnnotationProcessor) managedType.getEntityAnnotation())
                      .getSecondaryTablesName();
              secondaryTables.add(m.getTableName());
  
              for (String tableName : secondaryTables)
              {
                  List<ColumnOrSuperColumn> columnOrSuperColumns = conn.getClient().get_slice(key,
                          new ColumnParent(tableName), predicate, consistencyLevel);
  
                  Map<ByteBuffer, List<ColumnOrSuperColumn>> thriftColumnOrSuperColumns = new HashMap<ByteBuffer, List<ColumnOrSuperColumn>>();
                  thriftColumnOrSuperColumns.put(key, columnOrSuperColumns);
                  if (!columnOrSuperColumns.isEmpty())
                  {
                      e = populateEntityFromSlice(m, relationNames, isWrapReq, KunderaCoreUtils.getEntity(e),
                              thriftColumnOrSuperColumns);
                  }
              }
              return e;
          }
          finally
          {
              thriftClient.releaseConnection(conn);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.client.cassandra.datahandler.CassandraDataHandlerBase#
  fromThriftRow(java.lang.Class,
  com.impetus.kundera.metadata.model.EntityMetadata, java.lang.String,
  java.util.List, boolean, org.apache.cassandra.thrift.ConsistencyLevel)