code: private Object onColumn(Column column, EntityMetadata m, Object entity, EntityType entityType,
              List<String> relationNames, boolean isWrapReq, Map<String, Object> relations, boolean isCql3Enabled)
              throws InstantiationException, IllegalAccessException
      {
          String thriftColumnName = PropertyAccessorFactory.STRING.fromBytes(String.class, column.getName());
          byte[] thriftColumnValue = column.getValue();
  
          String discriminatorColumn = ((AbstractManagedType) entityType).getDiscriminatorColumn();
          String discriminatorValue = ((AbstractManagedType) entityType).getDiscriminatorValue();
  
          if (!thriftColumnName.equals(discriminatorColumn))
          {
              if (m.isCounterColumnType())
              {
                  if (thriftColumnName.equals(((AbstractAttribute) m.getIdAttribute()).getJPAColumnName()))
                  {
                      return populateViaThrift(m, entity, entityType, relationNames, relations, thriftColumnName,
                              column.getValue(), isCql3Enabled);
                  }
                  else
                  {
                      LongAccessor accessor = new LongAccessor();
                      Long value = accessor.fromBytes(Long.class, column.getValue());
                      return populateViaThrift(m, entity, entityType, relationNames, relations, thriftColumnName,
                              value != null ? value.toString() : null, isCql3Enabled);
                  }
              }
  
              return populateViaThrift(m, entity, entityType, relationNames, relations, thriftColumnName,
                      thriftColumnValue, isCql3Enabled);
          }
          return entity;
      }
docs: On column.
  
  @param column
  the column
  @param m
  the m
  @param entity
  the entity
  @param entityType
  the entity type
  @param relationNames
  the relation names
  @param isWrapReq
  the is wrap req
  @param relations
  the relations
  @param isCql3Enabled
  the is cql3 enabled
  @return the object
  @throws InstantiationException
  the instantiation exception
  @throws IllegalAccessException
  the illegal access exception