public static OffsetNode deserialize(ByteBuffer byteBuffer) {
    long offset = ReadWriteIOUtils.readLong(byteBuffer);
    PlanNodeId planNodeId = PlanNodeId.deserialize(byteBuffer);
    return new OffsetNode(planNodeId, offset);
  }
OffsetNode is used to skip top n result from upstream nodes. It uses the default order of
upstream nodes
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/process/OffsetNode.java