code: private void composeAndAdd(HashMap entity, CqlMetadata cqlMetadata, Object thriftColumnValue,
              String thriftColumnName)
      {
          byte[] columnName = thriftColumnName.getBytes();
  
          Map<ByteBuffer, String> schemaTypes = this.clientBase.getCqlMetadata().getValue_types();
          AbstractType<?> type = null;
          try
          {
              type = TypeParser.parse(schemaTypes.get(ByteBuffer.wrap((byte[]) columnName)));
          }
          catch (SyntaxException | ConfigurationException e)
          {
              log.error(e.getMessage());
              throw new KunderaException("Error while parsing CQL Type " + e);
          }
  
          entity.put(thriftColumnName, type.compose(ByteBuffer.wrap((byte[]) thriftColumnValue)));
      }
docs: Compose and add.
  
  @param entity
  the entity
  @param cqlMetadata
  the cql metadata
  @param thriftColumnValue
  the thrift column value
  @param thriftColumnName
  the thrift column name