Package org.apache.druid.timeline
package org.apache.druid.timeline
-
ClassDescriptionThis class describes what compaction task spec was used to create a given segment.Metadata of Druid's data segment.This class is needed for optional injection of pruneLoadSpec and pruneLastCompactionState, see github.com/google/guice/wiki/FrequentlyAskedQuestions#how-can-i-inject-optional-parameters-into-a-constructorA logical segment can represent an entire segment or a part of a segment.Overshadowable<T extends Overshadowable<T>>Interface to represent a class which can have overshadow relation between its instances.This enum is used a parameter for several methods in
VersionedIntervalTimeline, specifying whether only complete partitions should be considered, or incomplete partitions as well.This annnotation is used to inject a boolean parameter into aDataSegmentconstructor, which prescribes to drop deserialized "lastCompactionState" and don't store it in a field of aDataSegment.This annnotation is used to inject a boolean parameter into aDataSegmentconstructor, which prescribes to drop deserialized "loadSpec" and don't store it in a field of aDataSegment.Identifier ofDataSegment.This class represents the current state of a segment in the cluster and encapsulates the following: theDataSegmentobject overshadowed status of the segment replication factor of the segment number of rows in the segment if the segment is realtime
Objects of this class are used to sync the state of segments from the Coordinator to different services, typically the Broker.VersionedIntervalTimelineforDataSegmentobjects.TimelineLookup<VersionType,ObjectType extends Overshadowable<ObjectType>> TimelineObjectHolder<VersionType,ObjectType extends Overshadowable<ObjectType>> VersionedIntervalTimeline<VersionType,ObjectType extends Overshadowable<ObjectType>> VersionedIntervalTimeline is a data structure that manages objects on a specific timeline.VersionedIntervalTimeline.PartitionChunkEntry<VersionType,ObjectType> Stores aPartitionChunkfor a given interval and version.