public static Entry<ColumnEncoding,ColumnEncoding> getMapEncoding(String columnEncoding) {
    int index = columnEncoding.indexOf(AccumuloHiveConstants.COLON);
    if (-1 == index) {
      throw new IllegalArgumentException(
          "Serialized column encoding did not contain a pair of encodings to split");
    }

    String encoding1 = columnEncoding.substring(0, index), encoding2 = columnEncoding
        .substring(index + 1);

    return Maps.immutableEntry(get(encoding1), get(encoding2));
  }
Removes the column encoding code and separator from the original column mapping string. Throws
an IllegalArgumentException if this method is called on a string that doesn't contain a code.

@param columnMapping
         The mapping from Hive column to Accumulo column
@return The column mapping with the code removed
accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/columns/ColumnEncoding.java