Package org.apache.druid.segment.realtime.appenderator
package org.apache.druid.segment.realtime.appenderator
-
ClassDescriptionAn Appenderator indexes data.Result of
Appenderator.add(org.apache.druid.segment.realtime.appenderator.SegmentIdWithShardSpec, org.apache.druid.data.input.InputRow, com.google.common.base.Supplier<org.apache.druid.data.input.Committer>)containing following information -SegmentIdWithShardSpec- identifier of segment to which rows are being added - int - positive number indicating how many summarized rows exist in this segment so far and - boolean - true if is set to false and persist is required; false otherwiseResult of {@link BaseAppenderatorDriver#append)}.Lock helper forStreamAppenderatorDriver.This interface defines entities that create and manage potentially multipleAppenderatorinstances.A BaseAppenderatorDriver drives an Appenderator to index a finite stream of data.Allocated segments for a sequenceThis is a new class produced when the oldAppenderatorImplwas split.This class is specifialized for batch ingestion.This implementation is needed because Overlords and MiddleManagers operate on Task objects which can require an AppenderatorsManager to be injected.Manages Appenderators for tasks running within a CliPeon process.Encapsulates schema information for multiple segments.Encapsulates either the absolute schema or schema change for a segment.Segment state transition is different inBatchAppenderatorDriverandStreamAppenderatorDriver.Query handler for indexing tasks.This class is specialized for streaming ingestion.Contains the paths for various directories used by a task for logs, reports, and persisting intermediate data.ManagesAppenderatorinstances for the CliIndexer task execution service, which runs all tasks in a single process.This wrapper around IndexMerger limits concurrent calls to the merge/persist methods used byStreamAppenderatorwith a shared executor service.