presto-main/src/main/java/io/prestosql/util/DisjointSet.java/DisjointSet/setParent
class DisjointSet:        public void setParent(T parent)
        {
            this.parent = parent;
            this.rank = -1;
        }