private boolean isPrintable(Object val) {
    if (val instanceof Boolean || val instanceof String || val instanceof Integer
        || val instanceof Long || val instanceof Byte || val instanceof Float
        || val instanceof Double || val instanceof Path) {
      return true;
    }
    if (val != null && val.getClass().isPrimitive()) {
      return true;
    }
    return false;
  }
@param opName
@param opObj
@return
@throws Exception
          This method address the create table operator, fetch operator,
          etc
common/src/java/org/apache/hadoop/hive/common/jsonexplain/Stage.java