public GroupCounts countAllElementGroupsWithLimit() { // --------------------------------------------------------- final OperationChain<GroupCounts> opChain = new OperationChain.Builder() .first(new GetAllElements<>()) .then(new CountGroups(5)) .build(); // --------------------------------------------------------- return runExample(opChain); } }
public GroupCounts countAllElementGroups() { // --------------------------------------------------------- final OperationChain<GroupCounts> opChain = new OperationChain.Builder() .first(new GetAllElements<>()) .then(new CountGroups()) .build(); // --------------------------------------------------------- return runExample(opChain); }
public GroupCounts countAllElementGroups() { // --------------------------------------------------------- final OperationChain<GroupCounts> opChain = new OperationChain.Builder() .first(new GetAllElements()) .then(new CountGroups()) .build(); // --------------------------------------------------------- return runExample(opChain, null); }
public GroupCounts countAllElementGroupsWithLimit() { // --------------------------------------------------------- final OperationChain<GroupCounts> opChain = new OperationChain.Builder() .first(new GetAllElements()) .then(new CountGroups(5)) .build(); // --------------------------------------------------------- return runExample(opChain, null); } }