Class ServerSelector

  • All Implemented Interfaces:
    org.apache.druid.timeline.Overshadowable<ServerSelector>

    public class ServerSelector
    extends Object
    implements org.apache.druid.timeline.Overshadowable<ServerSelector>
    • Constructor Detail

      • ServerSelector

        public ServerSelector​(org.apache.druid.timeline.DataSegment segment,
                              TierSelectorStrategy strategy)
    • Method Detail

      • getSegment

        public org.apache.druid.timeline.DataSegment getSegment()
      • addServerAndUpdateSegment

        public void addServerAndUpdateSegment​(QueryableDruidServer server,
                                              org.apache.druid.timeline.DataSegment segment)
      • isEmpty

        public boolean isEmpty()
      • overshadows

        public boolean overshadows​(ServerSelector other)
        Specified by:
        overshadows in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • getStartRootPartitionId

        public int getStartRootPartitionId()
        Specified by:
        getStartRootPartitionId in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • getEndRootPartitionId

        public int getEndRootPartitionId()
        Specified by:
        getEndRootPartitionId in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • getMinorVersion

        public short getMinorVersion()
        Specified by:
        getMinorVersion in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • getAtomicUpdateGroupSize

        public short getAtomicUpdateGroupSize()
        Specified by:
        getAtomicUpdateGroupSize in interface org.apache.druid.timeline.Overshadowable<ServerSelector>
      • hasData

        public boolean hasData()
        Specified by:
        hasData in interface org.apache.druid.timeline.Overshadowable<ServerSelector>