private void parse() {
    if (cachedMap == null) {
      cachedMap = new LinkedHashMap<Object, Object>();
    } else {
      cachedMap.clear();
    }

    NavigableMap<byte [], byte []> familyMap = result.getFamilyMap(columnFamilyBytes);

    if (familyMap != null) {

      for (Entry<byte [], byte []> e : familyMap.entrySet()) {
        // null values and values of zero length are not added to the cachedMap
        if (e.getValue() == null || e.getValue().length == 0) {
          continue;
        }

        if (qualPrefix != null && !Bytes.startsWith(e.getKey(), qualPrefix)) {
          // since we were provided a qualifier prefix, only accept qualifiers that start with this
          // prefix
          continue;
        }

        LazyMapObjectInspector lazyMoi = getInspector();

        // Keys are always primitive
        LazyPrimitive<? extends ObjectInspector, ? extends Writable> key =
          LazyFactory.createLazyPrimitiveClass(
              (PrimitiveObjectInspector) lazyMoi.getMapKeyObjectInspector(),
              binaryStorage.get(0));

        ByteArrayRef keyRef = new ByteArrayRef();
		  if (qualPrefix!=null && hideQualPrefix){
			  keyRef.setData(Bytes.tail(e.getKey(), e.getKey().length-qualPrefix.length)); //cut prefix from hive's map key
		  }else{
			  keyRef.setData(e.getKey()); //for non-prefix maps
		  }
        key.init(keyRef, 0, keyRef.getData().length);

        // Value
        LazyObject<?> value =
          LazyFactory.createLazyObject(lazyMoi.getMapValueObjectInspector(),
              binaryStorage.get(1));

        byte[] bytes = e.getValue();

        if (isNull(oi.getNullSequence(), bytes, 0, bytes.length)) {
          value.setNull();
        } else {
          ByteArrayRef valueRef = new ByteArrayRef();
          valueRef.setData(bytes);
          value.init(valueRef, 0, valueRef.getData().length);
        }

        // Put the key/value into the map
        cachedMap.put(key.getObject(), value.getObject());
      }
    }

    setParsed(true);
  }
Construct a LazyCellMap object with the ObjectInspector.
@param oi
hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseCellMap.java