Package org.apache.druid.client
Class SegmentLoadInfo
java.lang.Object
org.apache.druid.client.SegmentLoadInfo
- All Implemented Interfaces:
Overshadowable<SegmentLoadInfo>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddServer(DruidServerMetadata server) booleanshortintshortintinthashCode()booleanisEmpty()booleanovershadows(SegmentLoadInfo other) pickOne()Randomly return one server from the set ofservers.booleanremoveServer(DruidServerMetadata server) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.druid.timeline.Overshadowable
containsRootPartition, hasData
-
Constructor Details
-
SegmentLoadInfo
-
-
Method Details
-
addServer
-
removeServer
-
isEmpty
public boolean isEmpty() -
toImmutableSegmentLoadInfo
-
pickOne
Randomly return one server from the set ofservers. -
equals
-
hashCode
public int hashCode() -
toString
-
overshadows
- Specified by:
overshadowsin interfaceOvershadowable<SegmentLoadInfo>
-
getStartRootPartitionId
public int getStartRootPartitionId()- Specified by:
getStartRootPartitionIdin interfaceOvershadowable<SegmentLoadInfo>
-
getEndRootPartitionId
public int getEndRootPartitionId()- Specified by:
getEndRootPartitionIdin interfaceOvershadowable<SegmentLoadInfo>
-
getVersion
- Specified by:
getVersionin interfaceOvershadowable<SegmentLoadInfo>
-
getMinorVersion
public short getMinorVersion()- Specified by:
getMinorVersionin interfaceOvershadowable<SegmentLoadInfo>
-
getAtomicUpdateGroupSize
public short getAtomicUpdateGroupSize()- Specified by:
getAtomicUpdateGroupSizein interfaceOvershadowable<SegmentLoadInfo>
-