public boolean isOperatorContainsGreater() {
      switch (operator) {
        case GREATER_THAN:
        case GREATER_THAN_OR_EQUAL:
          return true;
        case LESS_THAN:
        case LESS_THAN_OR_EQUAL:
          return false;
        default:
          throw new IllegalArgumentException("Invalid operator type: " + operator);
      }
    }
@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