Class FixedTierSegmentSelector

    • Constructor Detail

      • FixedTierSegmentSelector

        public FixedTierSegmentSelector​(org.apache.helix.HelixManager helixManager,
                                        Set<String> segmentsToSelect)
    • Method Detail

      • selectSegment

        public boolean selectSegment​(String tableNameWithType,
                                     String segmentName)
        Checks if a segment is eligible for the tier based on fixed list
        Specified by:
        selectSegment in interface TierSegmentSelector
        Parameters:
        tableNameWithType - Name of the table
        segmentName - Name of the segment
        Returns:
        true if eligible
      • getSegmentsToSelect

        public Set<String> getSegmentsToSelect()