presto-main/src/main/java/io/prestosql/sql/analyzer/Scope.java/Scope/withRelationType
class Scope:        public Builder withRelationType(RelationId relationId, RelationType relationType)
        {
            this.relationId = requireNonNull(relationId, "relationId is null");
            this.relationType = requireNonNull(relationType, "relationType is null");
            return this;
        }