presto-main/src/main/java/io/prestosql/sql/planner/plan/RowNumberNode.java/RowNumberNode/replaceChildren
class RowNumberNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        return new RowNumberNode(getId(), Iterables.getOnlyElement(newChildren), partitionBy, rowNumberSymbol, maxRowCountPerPartition, hashSymbol);
    }