public Field getFieldByIndex(int fieldIndex) {
    return allFields.get(fieldIndex);
  }
Gets the field at the specified index.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/RelationType.java