code: private String replaceAndAppendLimit(String parsedQuery)
      {
          StringBuilder builder = new StringBuilder(parsedQuery);
          onLimit(builder);
          parsedQuery = builder.toString();
          return parsedQuery;
      }
docs: Replace and append limit.
  
  @param parsedQuery
  parsed cql3 query.
  
  @return cql3 query appended with limit clause.