public interface Overshadowable<T extends Overshadowable<T>>
VersionedIntervalTimeline
, Overshadowable is used to represent each DataSegment
which has the same major version in the same time chunk.
An Overshadowable overshadows another if its root partition range contains that of another
and has a higher minorVersion. For more details, check https://github.com/apache/druid/issues/7491.Modifier and Type | Method and Description |
---|---|
default boolean |
containsRootPartition(T other) |
short |
getAtomicUpdateGroupSize()
Return the size of atomicUpdateGroup.
|
int |
getEndRootPartitionId()
See doc of
getStartRootPartitionId() . |
short |
getMinorVersion() |
int |
getStartRootPartitionId()
All overshadowables have root partition range.
|
String |
getVersion() |
default boolean |
hasData() |
default boolean |
overshadows(T other)
Returns true if this overshadowable overshadows the other.
|
default boolean overshadows(T other)
default boolean containsRootPartition(T other)
int getStartRootPartitionId()
int getEndRootPartitionId()
getStartRootPartitionId()
.String getVersion()
short getMinorVersion()
short getAtomicUpdateGroupSize()
VersionedIntervalTimeline
.default boolean hasData()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.