public boolean allMeasurementFailed() {
    if (measurements != null) {
      return failedMeasurementNumber
          >= measurements.length - (idColumnIndices == null ? 0 : idColumnIndices.size());
    }
    return true;
  }
Deserialize measurement schemas. Make sure the measurement schemas and measurements have been
created before calling this
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertNode.java