Package com.cbe
Class GroupQueryResult
java.lang.Object
com.cbe.GroupQueryResult
Resultset of data retrieved in a search for Group.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGroupQueryResult
(long cPtr, boolean cMemoryOwn) GroupQueryResult
(DefaultCtor arg0) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsGroup
(long groupId) asking if the group with groupId was loaded in the query.void
delete()
filter()
Returns a copy of the filter used for query.void
finalize()
static long
getCPtr
(GroupQueryResult obj) Returns a copy of a vector containing the groups for the queryResult.long
Number of groups loaded in the queryResult.long
Total number of Groups in the cloud matching the query result.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
GroupQueryResult
public GroupQueryResult(long cPtr, boolean cMemoryOwn) -
GroupQueryResult
-
-
Method Details
-
getCPtr
-
finalize
public void finalize() -
delete
public void delete() -
filter
Returns a copy of the filter used for query. -
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
-