code: protected byte[] getThriftColumnValue(Object e, Attribute attribute)
      {
          byte[] value = null;
          Field field = (Field) ((Attribute) attribute).getJavaMember();
          try
          {
              if (attribute != null && field.get(e) != null)
              {
  
                  if (CassandraDataTranslator.isCassandraDataTypeClass(((AbstractAttribute) attribute)
                          .getBindableJavaType()))
                  {
                      value = CassandraDataTranslator.compose(((AbstractAttribute) attribute).getBindableJavaType(),
                              field.get(e), false);
                  }
                  else
                  {
                      value = PropertyAccessorHelper.get(e, field);
                  }
              }
          }
          catch (IllegalArgumentException iae)
          {
              log.error("Error while persisting data, Caused by: .", iae);
              throw new IllegalArgumentException(iae);
          }
          catch (IllegalAccessException iace)
          {
              log.error("Error while persisting data, Caused by: .", iace);
          }
          return value;
      }
docs: Gets the thrift column value.
  
  @param e
  the e
  @param attribute
  the attribute
  @return the thrift column value