code: private ThriftColumnFamilyDefinitionImpl toThriftColumnFamilyDefinition(Map<String, Object> options, ColumnFamily columnFamily) {
          ThriftColumnFamilyDefinitionImpl def = new ThriftColumnFamilyDefinitionImpl();
  
          Map<String, Object> internalOptions = Maps.newHashMap();
          if (options != null)
              internalOptions.putAll(options);
  
          internalOptions.put("keyspace", getKeyspaceName());
          
          if (columnFamily != null) {
              internalOptions.put("name", columnFamily.getName());
              if (!internalOptions.containsKey("comparator_type"))
                  internalOptions.put("comparator_type", columnFamily.getColumnSerializer().getComparatorType().getTypeName());
              if (!internalOptions.containsKey("key_validation_class"))
                  internalOptions.put("key_validation_class", columnFamily.getKeySerializer().getComparatorType().getTypeName());
              if (columnFamily.getDefaultValueSerializer() != null && !internalOptions.containsKey("default_validation_class"))
                  internalOptions.put("default_validation_class", columnFamily.getDefaultValueSerializer().getComparatorType().getTypeName());
          }
  
          def.setFields(internalOptions);
          return def;
      }
docs: Convert a Map of options to an internal thrift column family definition
  @param options