public class SegmentLoadInfo extends Object implements Overshadowable<SegmentLoadInfo>
| Constructor and Description |
|---|
SegmentLoadInfo(DataSegment segment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addServer(DruidServerMetadata server) |
boolean |
equals(Object o) |
short |
getAtomicUpdateGroupSize() |
int |
getEndRootPartitionId() |
short |
getMinorVersion() |
int |
getStartRootPartitionId() |
String |
getVersion() |
int |
hashCode() |
boolean |
isEmpty() |
boolean |
overshadows(SegmentLoadInfo other) |
boolean |
removeServer(DruidServerMetadata server) |
ImmutableSegmentLoadInfo |
toImmutableSegmentLoadInfo() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsRootPartitionpublic SegmentLoadInfo(DataSegment segment)
public boolean addServer(DruidServerMetadata server)
public boolean removeServer(DruidServerMetadata server)
public boolean isEmpty()
public ImmutableSegmentLoadInfo toImmutableSegmentLoadInfo()
public boolean overshadows(SegmentLoadInfo other)
overshadows in interface Overshadowable<SegmentLoadInfo>public int getStartRootPartitionId()
getStartRootPartitionId in interface Overshadowable<SegmentLoadInfo>public int getEndRootPartitionId()
getEndRootPartitionId in interface Overshadowable<SegmentLoadInfo>public String getVersion()
getVersion in interface Overshadowable<SegmentLoadInfo>public short getMinorVersion()
getMinorVersion in interface Overshadowable<SegmentLoadInfo>public short getAtomicUpdateGroupSize()
getAtomicUpdateGroupSize in interface Overshadowable<SegmentLoadInfo>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.