docs: public static <K> org.apache.cassandra.thrift.ColumnPath getColumnPath(ColumnFamily<?, ?> columnFamily,
              ColumnPath<?> path) throws BadRequestException {
          org.apache.cassandra.thrift.ColumnPath cp = new org.apache.cassandra.thrift.ColumnPath();
          cp.setColumn_family(columnFamily.getName());
          if (path != null) {
              Iterator<ByteBuffer> columns = path.iterator();
              if (columnFamily.getType() == ColumnType.SUPER && columns.hasNext()) {
                  cp.setSuper_column(columns.next());
              }
  
              if (columns.hasNext()) {
                  cp.setColumn(columns.next());
              }
              if (columns.hasNext()) {
                  throw new BadRequestException("Path depth of " + path.length() + " not supported for column family \'"
                          + columnFamily.getName() + "\'");
              }
          }
          return cp;
      }