Support count operations in the Crowd query language and QueryBuilder

XMLWordPrintable

      Currently the thinking is to provide an API that would allow for the following types of queries:

      QueryBuilder.queryFor(User.class, EntityDescriptor.user()).with(
              Restriction.on(UserTermKeys.USERNAME).startingWith("b")
          ).asCount();
      
      QueryBuilder.queryFor(User.class, EntityDescriptor.user()).childrenOf(EntityDescriptor.group()).withName("jira-users").asCount();
      

              Assignee:
              Unassigned
              Reporter:
              Justin Koke
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: