@Override
    public TensorType getType(Reference key) {
        Value value = bindings.get(key.toString());
        if (value == null) return null;
        return value.type();
    }
Returns the type of the given value key, or null if it is not bound.
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/MapContext.java