Class GroupPartitionId

    • Constructor Detail

      • GroupPartitionId

        public GroupPartitionId​(int grpId,
                                int partId)
        Creates group-partition tuple.
        Parameters:
        grpId - Group ID.
        partId - Partition ID.
    • Method Detail

      • getFlagByPartId

        public static byte getFlagByPartId​(int partId)
        Parameters:
        partId - Partition ID.
        Returns:
        flag to be used for partition
      • getTypeByPartId

        public static byte getTypeByPartId​(int partId)
        Parameters:
        partId - Partition ID.
        Returns:
        page store type to be used for partition
      • getGroupId

        public int getGroupId()
        Returns:
        cache ID
      • getPartitionId

        public int getPartitionId()
        Returns:
        Partition ID
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • createFirstPageFullId

        @NotNull
        public @NotNull FullPageId createFirstPageFullId()
        Returns:
        will return super-page (metapage) of this partition