code: public static ServiceInstanceQuery toServiceInstanceQuery(String cli){
          char [] delimiters = {';'};
          ServiceInstanceQuery query = new ServiceInstanceQuery();
          for(String statement : splitStringByDelimiters(cli, delimiters, false)){
              QueryCriterion criterion = toQueryCriterion(statement);
              if(criterion != null){
                  query.addQueryCriterion(criterion);
              }
          };
          return query;
      }
docs: Parse the ServiceInstanceQuery from commandline String expression.
  
  Convert the ServiceInstanceQuery commandline input to the ServiceInstanceQuery.
  
  @param cli
  the ServiceInstanceQuery commandline String expression.
  @return
  the QueryCriterion statement String list.