code: @Override
      public void writeRelations(HTableInterface htable, Object rowKey, boolean containsEmbeddedObjectsOnly,
              List<RelationHolder> relations, String columnFamilyName) throws IOException
      {
          Put p = new Put(HBaseUtils.getBytes(rowKey));
  
          boolean isPresent = false;
          for (RelationHolder r : relations)
          {
              if (r != null)
              {
                  if (containsEmbeddedObjectsOnly)
                  {
                      p.add(Bytes.toBytes(r.getRelationName()), Bytes.toBytes(r.getRelationName()),
                              PropertyAccessorHelper.getBytes(r.getRelationValue()));
                      isPresent = true;
                  }
                  else
                  {
                      p.add(columnFamilyName.getBytes(), Bytes.toBytes(r.getRelationName()), System.currentTimeMillis(),
                              PropertyAccessorHelper.getBytes(r.getRelationValue()));
                      isPresent = true;
                  }
              }
          }
  
          if (isPresent)
          {
              htable.put(p);
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.impetus.client.hbase.Writer#writeRelations(org.apache.hadoop.hbase
  .client.HTable, java.lang.Object, boolean, java.util.List)