Class SegmentLoadInfo

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

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

      • SegmentLoadInfo

        public SegmentLoadInfo​(org.apache.druid.timeline.DataSegment segment)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • pickOne

        public DruidServerMetadata pickOne()
        Randomly return one server from the set of servers.
      • hashCode

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

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

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

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

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

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

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