code: public static Object parse(Type type, String value)
      {
          value = value.replaceAll("^['\\\"]|['\\\"]$", "");
          switch (type)
          {
          case BINARY:
              return value.getBytes();
          case BOOL:
              return Boolean.parseBoolean(value);
          case DOUBLE:
              return Double.parseDouble(value);
          case FLOAT:
              return Float.parseFloat(value);
          case INT16:
              return Short.parseShort(value);
          case INT32:
              return Integer.parseInt(value);
          case INT64:
              return Long.parseLong(value);
          case INT8:
              return Byte.parseByte(value);
          case STRING:
              return value;
          case UNIXTIME_MICROS:
          default:
              logger.error(type + " type is not supported by Kudu");
              throw new KunderaException(type + " type is not supported by Kudu");
  
          }
      }
docs: Parses the.
  
  @param type
  the type
  @param value
  the value
  @return the object