Uses of Class
org.apache.druid.segment.realtime.appenderator.SegmentIdWithShardSpec
-
Packages that use SegmentIdWithShardSpec Package Description org.apache.druid.indexing.overlord org.apache.druid.metadata org.apache.druid.segment.realtime.appenderator -
-
Uses of SegmentIdWithShardSpec in org.apache.druid.indexing.overlord
Methods in org.apache.druid.indexing.overlord that return SegmentIdWithShardSpec Modifier and Type Method Description SegmentIdWithShardSpecIndexerMetadataStorageCoordinator. allocatePendingSegment(String dataSource, String sequenceName, String previousSegmentId, org.joda.time.Interval interval, org.apache.druid.timeline.partition.PartialShardSpec partialShardSpec, String maxVersion, boolean skipSegmentLineageCheck)Allocate a new pending segment in the pending segments table.Methods in org.apache.druid.indexing.overlord that return types with arguments of type SegmentIdWithShardSpec Modifier and Type Method Description Map<SegmentCreateRequest,SegmentIdWithShardSpec>IndexerMetadataStorageCoordinator. allocatePendingSegments(String dataSource, org.joda.time.Interval interval, boolean skipSegmentLineageCheck, List<SegmentCreateRequest> requests)Allocates pending segments for the given requests in the pending segments table.Map<SegmentIdWithShardSpec,SegmentIdWithShardSpec>IndexerMetadataStorageCoordinator. upgradePendingSegmentsOverlappingWith(Set<org.apache.druid.timeline.DataSegment> replaceSegments, Set<String> activeRealtimeSequencePrefixes)Creates and inserts new IDs for the pending segments hat overlap with the given replace segments being committed.Map<SegmentIdWithShardSpec,SegmentIdWithShardSpec>IndexerMetadataStorageCoordinator. upgradePendingSegmentsOverlappingWith(Set<org.apache.druid.timeline.DataSegment> replaceSegments, Set<String> activeRealtimeSequencePrefixes)Creates and inserts new IDs for the pending segments hat overlap with the given replace segments being committed. -
Uses of SegmentIdWithShardSpec in org.apache.druid.metadata
Methods in org.apache.druid.metadata that return SegmentIdWithShardSpec Modifier and Type Method Description SegmentIdWithShardSpecIndexerSQLMetadataStorageCoordinator. allocatePendingSegment(String dataSource, String sequenceName, String previousSegmentId, org.joda.time.Interval interval, org.apache.druid.timeline.partition.PartialShardSpec partialShardSpec, String maxVersion, boolean skipSegmentLineageCheck)Methods in org.apache.druid.metadata that return types with arguments of type SegmentIdWithShardSpec Modifier and Type Method Description Map<SegmentCreateRequest,SegmentIdWithShardSpec>IndexerSQLMetadataStorageCoordinator. allocatePendingSegments(String dataSource, org.joda.time.Interval allocateInterval, boolean skipSegmentLineageCheck, List<SegmentCreateRequest> requests)Map<SegmentIdWithShardSpec,SegmentIdWithShardSpec>IndexerSQLMetadataStorageCoordinator. upgradePendingSegmentsOverlappingWith(Set<org.apache.druid.timeline.DataSegment> replaceSegments, Set<String> activeRealtimeSequencePrefixes)Map<SegmentIdWithShardSpec,SegmentIdWithShardSpec>IndexerSQLMetadataStorageCoordinator. upgradePendingSegmentsOverlappingWith(Set<org.apache.druid.timeline.DataSegment> replaceSegments, Set<String> activeRealtimeSequencePrefixes) -
Uses of SegmentIdWithShardSpec in org.apache.druid.segment.realtime.appenderator
Methods in org.apache.druid.segment.realtime.appenderator that return SegmentIdWithShardSpec Modifier and Type Method Description SegmentIdWithShardSpecSegmentAllocator. allocate(org.apache.druid.data.input.InputRow row, String sequenceName, String previousSegmentId, boolean skipSegmentLineageCheck)Allocates a new segment for a given timestamp.static SegmentIdWithShardSpecSegmentIdWithShardSpec. fromDataSegment(org.apache.druid.timeline.DataSegment segment)SegmentIdWithShardSpecAppenderatorDriverAddResult. getSegmentIdentifier()SegmentIdWithShardSpecSegmentWithState. getSegmentIdentifier()Methods in org.apache.druid.segment.realtime.appenderator that return types with arguments of type SegmentIdWithShardSpec Modifier and Type Method Description List<SegmentIdWithShardSpec>BatchAppenderator. getInMemorySegments()List<SegmentIdWithShardSpec>Appenderator. getSegments()Returns a list of all currently active segments.List<SegmentIdWithShardSpec>AppenderatorImpl. getSegments()List<SegmentIdWithShardSpec>BatchAppenderator. getSegments()Returns all active segments regardless whether they are in memory or persistedList<SegmentIdWithShardSpec>StreamAppenderator. getSegments()Map<Long,SegmentIdWithShardSpec>AppenderatorPlumber. getSegmentsView()Methods in org.apache.druid.segment.realtime.appenderator with parameters of type SegmentIdWithShardSpec Modifier and Type Method Description default Appenderator.AppenderatorAddResultAppenderator. add(SegmentIdWithShardSpec identifier, org.apache.druid.data.input.InputRow row, com.google.common.base.Supplier<org.apache.druid.data.input.Committer> committerSupplier)Same asAppenderator.add(SegmentIdWithShardSpec, InputRow, Supplier, boolean), with allowIncrementalPersists set to trueAppenderator.AppenderatorAddResultAppenderator. add(SegmentIdWithShardSpec identifier, org.apache.druid.data.input.InputRow row, com.google.common.base.Supplier<org.apache.druid.data.input.Committer> committerSupplier, boolean allowIncrementalPersists)Add a row.Appenderator.AppenderatorAddResultAppenderatorImpl. add(SegmentIdWithShardSpec identifier, org.apache.druid.data.input.InputRow row, com.google.common.base.Supplier<org.apache.druid.data.input.Committer> committerSupplier, boolean allowIncrementalPersists)Appenderator.AppenderatorAddResultBatchAppenderator. add(SegmentIdWithShardSpec identifier, org.apache.druid.data.input.InputRow row, com.google.common.base.Supplier<org.apache.druid.data.input.Committer> committerSupplier, boolean allowIncrementalPersists)Appenderator.AppenderatorAddResultStreamAppenderator. add(SegmentIdWithShardSpec identifier, org.apache.druid.data.input.InputRow row, com.google.common.base.Supplier<org.apache.druid.data.input.Committer> committerSupplier, boolean allowIncrementalPersists)intSegmentIdWithShardSpec. compareTo(SegmentIdWithShardSpec o)com.google.common.util.concurrent.ListenableFuture<?>Appenderator. drop(SegmentIdWithShardSpec identifier)Schedule dropping all data associated with a particular pending segment.com.google.common.util.concurrent.ListenableFuture<?>AppenderatorImpl. drop(SegmentIdWithShardSpec identifier)com.google.common.util.concurrent.ListenableFuture<?>BatchAppenderator. drop(SegmentIdWithShardSpec identifier)com.google.common.util.concurrent.ListenableFuture<?>StreamAppenderator. drop(SegmentIdWithShardSpec identifier)voidAppenderatorPlumber. dropSegment(SegmentIdWithShardSpec identifier)longBatchAppenderator. getBytesInMemory(SegmentIdWithShardSpec identifier)intAppenderator. getRowCount(SegmentIdWithShardSpec identifier)Returns the number of rows in a particular pending segment.intAppenderatorImpl. getRowCount(SegmentIdWithShardSpec identifier)intBatchAppenderator. getRowCount(SegmentIdWithShardSpec identifier)intStreamAppenderator. getRowCount(SegmentIdWithShardSpec identifier)booleanAppenderatorDriverSegmentLockHelper. lock(SegmentIdWithShardSpec segmentId)static AppenderatorDriverAddResultAppenderatorDriverAddResult. ok(SegmentIdWithShardSpec segmentIdentifier, int numRowsInSegment, long totalNumRowsInAppenderator, boolean isPersistRequired)voidSinkQuerySegmentWalker. registerNewVersionOfPendingSegment(SegmentIdWithShardSpec basePendingSegment, SegmentIdWithShardSpec newSegmentVersion)voidStreamAppenderator. registerNewVersionOfPendingSegment(SegmentIdWithShardSpec basePendingSegment, SegmentIdWithShardSpec newSegmentVersion)Method parameters in org.apache.druid.segment.realtime.appenderator with type arguments of type SegmentIdWithShardSpec Modifier and Type Method Description static CommittedCommitted. create(Map<SegmentIdWithShardSpec,Integer> hydrants0, Object metadata)Set<org.apache.druid.timeline.DataSegment>UsedSegmentChecker. findUsedSegments(Set<SegmentIdWithShardSpec> identifiers)For any identifiers that exist and are actually used, returns the corresponding DataSegment objects.voidStreamAppenderatorDriver. moveSegmentOut(String sequenceName, List<SegmentIdWithShardSpec> identifiers)Move a set of identifiers out from "active", making way for newer segments.com.google.common.util.concurrent.ListenableFuture<SegmentsAndCommitMetadata>Appenderator. push(Collection<SegmentIdWithShardSpec> identifiers, org.apache.druid.data.input.Committer committer, boolean useUniquePath)Merge and push particular segments to deep storage.com.google.common.util.concurrent.ListenableFuture<SegmentsAndCommitMetadata>AppenderatorImpl. push(Collection<SegmentIdWithShardSpec> identifiers, org.apache.druid.data.input.Committer committer, boolean useUniquePath)com.google.common.util.concurrent.ListenableFuture<SegmentsAndCommitMetadata>BatchAppenderator. push(Collection<SegmentIdWithShardSpec> identifiers, org.apache.druid.data.input.Committer committer, boolean useUniquePath)com.google.common.util.concurrent.ListenableFuture<SegmentsAndCommitMetadata>StreamAppenderator. push(Collection<SegmentIdWithShardSpec> identifiers, org.apache.druid.data.input.Committer committer, boolean useUniquePath)Constructors in org.apache.druid.segment.realtime.appenderator with parameters of type SegmentIdWithShardSpec Constructor Description SegmentWithState(SegmentIdWithShardSpec segmentIdentifier, SegmentWithState.SegmentState state, org.apache.druid.timeline.DataSegment dataSegment)
-