presto-main/src/main/java/io/prestosql/sql/analyzer/RelationType.java/RelationType/getFieldByIndex
class RelationType:    public Field getFieldByIndex(int fieldIndex)
    {
        checkElementIndex(fieldIndex, allFields.size(), "fieldIndex");
        return allFields.get(fieldIndex);
    }