public Object getObjectValue()

in backup-core/src/main/java/org/apache/iotdb/backup/core/model/FieldCopy.java [179:200]


  public Object getObjectValue(TSDataType dataType) {
    if (this.dataType == null) {
      return null;
    } else {
      switch (dataType) {
        case DOUBLE:
          return this.getDoubleV();
        case FLOAT:
          return this.getFloatV();
        case INT64:
          return this.getLongV();
        case INT32:
          return this.getIntV();
        case BOOLEAN:
          return this.getBoolV();
        case TEXT:
          return this.getBinaryV();
        default:
          throw new UnSupportedDataTypeException(dataType.toString());
      }
    }
  }