public void serialize(ByteBuffer byteBuffer) {
    ReadWriteIOUtils.write(sourceLocations.size(), byteBuffer);
    for (InputLocation sourceLocation : sourceLocations) {
      sourceLocation.serialize(byteBuffer);
    }
    ReadWriteIOUtils.write(overlapped, byteBuffer);
  }
used for case that this OutputColumn only has one input column
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/parameter/OutputColumn.java