@Override
  public Object getMapValueElement(Object key) {
    if (!getParsed()) {
      parse();
    }

    for (Map.Entry<Object,Object> entry : cachedMap.entrySet()) {
      LazyPrimitive<?,?> lazyKey = (LazyPrimitive<?,?>) entry.getKey();

      // getWritableObject() will convert LazyPrimitive to actual primitive
      // writable objects.
      Object keyI = lazyKey.getWritableObject();
      if (keyI == null) {
        continue;
      }
      if (keyI.equals(key)) {
        // Got a match, return the value
        LazyObject<?> v = (LazyObject<?>) entry.getValue();
        return v == null ? v : v.getObject();
      }
    }

    return null;
  }
Get the value in the map for the given key.

@param key
         The key, a column qualifier, from the map
@return The object in the map at the given key
accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/LazyAccumuloMap.java