code: private ThriftRow constructIndexTableThriftRow(String columnFamily, String embeddedFieldName, Object obj,
              Attribute column, byte[] rowKey, String ecValue)
      {
          // Column Name
          Field columnField = (Field) column.getJavaMember();
          byte[] indexColumnName = PropertyAccessorHelper.get(obj, columnField);
  
          ThriftRow tr = null;
          if (indexColumnName != null && indexColumnName.length != 0 && rowKey != null)
          {
              // Construct Index Table Thrift Row
              tr = new ThriftRow();
              tr.setColumnFamilyName(columnFamily); // Index column-family name
              tr.setId(embeddedFieldName + Constants.INDEX_TABLE_ROW_KEY_DELIMITER + column.getName()); // Id
  
              SuperColumn thriftSuperColumn = new SuperColumn();
              thriftSuperColumn.setName(indexColumnName);
  
              Column thriftColumn = new Column();
              thriftColumn.setName(rowKey);
              thriftColumn.setValue(ecValue.getBytes());
              thriftColumn.setTimestamp(generator.getTimestamp());
  
              thriftSuperColumn.addToColumns(thriftColumn);
  
              tr.addSuperColumn(thriftSuperColumn);
          }
          return tr;
      }
docs: Constructs Thrift Tow (each record) for Index Table.
  
  @param columnFamily
  Column family Name for Index Table
  @param embeddedFieldName
  the embedded field name
  @param obj
  Embedded Object instance
  @param column
  Instance of {@link Column}
  @param rowKey
  Name of Index Column
  @param ecValue
  Name of embeddable object in Element Collection cache (usually
  in the form of <element collection field name>#<integer
  counter>
  @return Instance of {@link ThriftRow}