public static void putValue(PointCollector pc, Type type, long t, Object o) throws IOException {
    switch (type) {
      case INT32:
        pc.putInt(t, (Integer) o);
        break;
      case INT64:
        pc.putLong(t, (Long) o);
        break;
      case FLOAT:
        pc.putFloat(t, (Float) o);
        break;
      case DOUBLE:
        pc.putDouble(t, (Double) o);
        break;
      case BOOLEAN:
        pc.putBoolean(t, (Boolean) o);
        break;
      case DATE:
      case TIMESTAMP:
      case TEXT:
      case STRING:
      case BLOB:
      default:
        break;
    }
  }
Add new data point to PointCollector.

@param pc PointCollector
@param type datatype
@param t timestamp
@param o value in Object type
library-udf/src/main/java/org/apache/iotdb/library/util/Util.java