ContigSplitGroupByResult#
- public class ContigSplitGroupByResult implements AutoCloseable#
Used to save groups and uniq key table for
Table.contiguousSplitGroupsAndGenUniqKeysEach row in uniq key table is corresponding to a group Resource management note: This class is the owner ofgroupsanduniqKeysTable(or uniqKeyColumns if table is not constructed) 1: UsecloseGroupsandcloseUniqKeyTableto close the resources separately if you want to close eagerly.2: Or auto close them by
AutoCloseableUsereleaseGroupsto release the ownership of thegroupsto the caller, then the caller is responsible to close thegroupsMethod Summary
Close the split group tables.
Close the key table or key columns.
Get the split group tables.
Get the key table, each row in the key table is corresponding to a group.
Methods
- public Table getUniqKeyTable()#
Get the key table, each row in the key table is corresponding to a group.
Note: Close the key table by
closeUniqKeyTable- Returns:
the key table, it could be null if invoking native method
Table.contiguousSplitGroupswithgenUniqKeysas false
- public void closeUniqKeyTable()#
Close the key table or key columns.
- public ContiguousTable[] getGroups()#
Get the split group tables.
Note: Close the group tables by
closeGroups- Returns:
the split group tables
- public void closeGroups()#
Close the split group tables.
- public void close()#