public JoinNode flip() {
    return new JoinNode(
        id,
        joinType.flip(),
        rightChild,
        leftChild,
        flipBatch(criteria),
        asofCriteria,
        rightOutputSymbols,
        leftOutputSymbols,
        filter,
        spillable);
  }
@return a new JoinNode with the flipped attributes
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/node/JoinNode.java