Package org.apache.druid.timeline
-
Interface Summary Interface Description LogicalSegment A 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.TimelineLookup<VersionType,ObjectType extends Overshadowable<ObjectType>> -
Class Summary Class Description CompactionState This class describes what compaction task spec was used to create a given segment.DataSegment Metadata of Druid's data segment.DataSegment.Builder DataSegment.PruneSpecsHolder 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-constructorSegmentId Identifier ofDataSegment.SegmentStatusInCluster 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.SegmentTimeline VersionedIntervalTimelineforDataSegmentobjects.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. -
Enum Summary Enum Description LogicalSegment.Status Partitions This enum is used a parameter for several methods inVersionedIntervalTimeline, specifying whether only complete partitions should be considered, or incomplete partitions as well. -
Annotation Types Summary Annotation Type Description PruneLastCompactionState 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.PruneLoadSpec 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.