code: @Given("^I insert in keyspace '(.+?)' and table '(.+?)' with:$")
      public void insertData(String keyspace, String table, DataTable datatable) {
          try {
              commonspec.getCassandraClient().useKeyspace(keyspace);
              int attrLength = datatable.getPickleRows().get(0).getCells().size();
              Map<String, Object> fields = new HashMap<String, Object>();
              for (int e = 1; e < datatable.getPickleRows().size(); e++) {
                  for (int i = 0; i < attrLength; i++) {
                      fields.put(datatable.getPickleRows().get(0).getCells().get(i).getValue(), datatable.getPickleRows().get(e).getCells().get(i).getValue());
  
                  }
                  commonspec.getCassandraClient().insertData(keyspace + "." + table, fields);
  
              }
          } catch (Exception e) {
              commonspec.getLogger().debug("Exception captured");
              commonspec.getLogger().debug(e.toString());
              commonspec.getExceptions().add(e);
          }
      }
docs: Insert Data
  
  @param table     Cassandra table
  @param datatable datatable used for parsing elements
  @param keyspace  Cassandra keyspace