Package com.cbe

Class GroupQueryResult

java.lang.Object
com.cbe.GroupQueryResult

public class GroupQueryResult extends Object
Resultset of data retrieved in a search for Group.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • GroupQueryResult

      public GroupQueryResult(long cPtr, boolean cMemoryOwn)
    • GroupQueryResult

      public GroupQueryResult(DefaultCtor arg0)
  • Method Details

    • getCPtr

      public static long getCPtr(GroupQueryResult obj)
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • filter

      public GroupFilter filter()
      Returns a copy of the filter used for query.
    • getGroupsSnapshot

      public Groups_Vec getGroupsSnapshot()
      Returns a copy of a vector containing the groups for the queryResult.
      The queryResult will update when new data comes in but the copy will not.
      If iterating, make sure to create a variable for a local copy.
      Returns:
      vector<cbe::Group> containing the groups matching the query.
    • GroupsLoaded

      public long GroupsLoaded()
      Number of groups loaded in the queryResult.
    • totalCount

      public long totalCount()
      Total number of Groups in the cloud matching the query result.
      This may be more than loaded.
    • containsGroup

      public boolean containsGroup(long groupId)
      asking if the group with groupId was loaded in the query.
      Parameters:
      groupId - the group id number in question