public static ColumnMapping getMap(String columnSpec, ColumnEncoding keyEncoding,
      ColumnEncoding valueEncoding, String columnName, TypeInfo columnType) {
    Entry<String,String> pair = parseMapping(columnSpec);
    return new HiveAccumuloMapColumnMapping(pair.getKey(), pair.getValue(), keyEncoding,
        valueEncoding, columnName, columnType.toString());

  }
Generate the proper instance of a ColumnMapping

@param columnSpec
         Specification for mapping this column to Accumulo
@param defaultEncoding
         The default encoding in which values should be encoded to Accumulo
accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/columns/ColumnMappingFactory.java