code: public void validate(CFMetaData metadata) {
          for (Map.Entry<String, ColumnMapper> entry : columnMappers.entrySet()) {
  
              String name = entry.getKey();
              ColumnMapper columnMapper = entry.getValue();
              ByteBuffer columnName = UTF8Type.instance.decompose(name);
  
              ColumnDefinition columnDefinition = metadata.getColumnDefinition(columnName);
              if (columnDefinition == null) {
                  throw new RuntimeException("No column definition for mapper " + name);
              }
  
              if (columnDefinition.isStatic()) {
                  throw new RuntimeException("Lucene indexes are not allowed on static columns as " + name);
              }
  
              AbstractType<?> type = columnDefinition.type;
              if (!columnMapper.supports(type)) {
                  throw new RuntimeException(String.format("Type '%s' is not supported by mapper '%s'", type, name));
              }
          }
      }
docs: Checks if this is consistent with the specified column family metadata.
  
  @param metadata A column family metadata.