public List<Field> resolveVisibleFieldsWithRelationPrefix(Optional<QualifiedName> prefix) {
    return visibleFields.stream()
        .filter(input -> input.matchesPrefix(prefix))
        .collect(toImmutableList());
  }
Gets all visible fields whose relation alias matches given prefix.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/RelationType.java