vertx/src/main/java/eu/internetofus/common/vertx/AggregationBuilder.java
/**
   * Split an element path to the respective fields.
   *
   * @param elementPath to split.
   *
   * @return the splitter value of the element path.
   */
Split an element path to the respective fields.
@param elementPath to split.

@return the splitter value of the element path.
Split an element path to the respective fields . @param elementPath to split . @return the splitter value of the element path .
public static String[] splitElementPath(String elementPath) {
    if (elementPath == null) {
      return new String[0];
    } else {
      var trimmed = elementPath.replaceAll("\\s", "");
      if (trimmed.length() == 0) {
        return new String[0];
      } else {
        return trimmed.split("\\.");
      }
    }
  }
public static String [ ] splitElementPath ( String elementPath ) { if ( elementPath == null ) { return new String [ 0 ] ; } else { var trimmed = elementPath . replaceAll ( "\\s" , "" ) ; if ( trimmed . length ( ) == 0 ) { return new String [ 0 ] ; } else { return trimmed . split ( "\\." ) ; } } }
Split an element path to the respective fields.
Split an element path to the respective fields .