Class PartitionGroupNode

    • Constructor Detail

      • PartitionGroupNode

        public PartitionGroupNode​(Set<PartitionSingleNode> siblings)
        Constructor.
        Parameters:
        siblings - Partitions.
    • Method Detail

      • joinGroup

        public int joinGroup()
        Specified by:
        joinGroup in interface PartitionNode
        Returns:
        Join group for the given node.
      • contains

        public boolean contains​(PartitionSingleNode val)
        Check if value exists. Should be called only on non-mixed node.
        Parameters:
        val - Value
        Returns:
        True if exists.
      • containsExact

        public boolean containsExact​(Collection<PartitionSingleNode> siblings)
        Check if current group node contains exactly the same set of siblings.
        Parameters:
        siblings - Siblings to check.
        Returns:
        True if both sets of siblings contain the same elements.
      • constantsOnly

        public boolean constantsOnly()
        Returns:
        True if the group contain only constants.
      • cacheName

        public String cacheName()
        Specified by:
        cacheName in interface PartitionNode
        Returns:
        First met cache name of an any PartitionSingleNode during PartitionNode tree traversal. This method is intended to be used within the Jdbc thin client.