public static String getColumnWithGeometry()

in src/main/java/com/epam/digital/data/platform/geoserver/utils/TableUtils.java [32:38]


  public static String getColumnWithGeometry(Table table) {
    return table.getColumns().stream()
        .filter(column -> GEOMETRY_TYPE.equals(column.getColumnDataType().getName()))
        .map(NamedObject::getName)
        .findFirst()
        .orElse(null);
  }