Uses of Class
org.apache.druid.metadata.PendingSegmentRecord
Packages that use PendingSegmentRecord
Package
Description
-
Uses of PendingSegmentRecord in org.apache.druid.indexing.overlord
Methods in org.apache.druid.indexing.overlord that return types with arguments of type PendingSegmentRecordModifier and TypeMethodDescriptionIndexerMetadataStorageCoordinator.getPendingSegments(String datasource, org.joda.time.Interval interval) Fetches all the pending segments of the datasource that overlap with a given interval.SegmentPublishResult.getUpgradedPendingSegments()Method parameters in org.apache.druid.indexing.overlord with type arguments of type PendingSegmentRecordModifier and TypeMethodDescriptionstatic SegmentPublishResultSegmentPublishResult.ok(Set<DataSegment> segments, List<PendingSegmentRecord> upgradedPendingSegments) -
Uses of PendingSegmentRecord in org.apache.druid.metadata
Methods in org.apache.druid.metadata that return PendingSegmentRecordModifier and TypeMethodDescriptionstatic PendingSegmentRecordPendingSegmentRecord.create(SegmentIdWithShardSpec id, String sequenceName, String sequencePrevId, String upgradedFromSegmentId, String taskAllocatorId) Creates a new record (with the current timestamp) that can be used to create a new entry in the pending segments metadata table.static PendingSegmentRecordPendingSegmentRecord.fromJson(SegmentIdWithShardSpec id, String sequenceName, String sequencePrevId, String upgradedFromSegmentId, String taskAllocatorId) static PendingSegmentRecordPendingSegmentRecord.fromResultSet(ResultSet resultSet, com.fasterxml.jackson.databind.ObjectMapper jsonMapper) Maps the given result set into aPendingSegmentRecord.Methods in org.apache.druid.metadata that return types with arguments of type PendingSegmentRecordModifier and TypeMethodDescriptionIndexerSQLMetadataStorageCoordinator.getPendingSegments(String datasource, org.joda.time.Interval interval) SqlSegmentsMetadataQuery.retrievePendingSegmentsForTaskAllocatorId(String dataSource, String taskAllocatorId) SqlSegmentsMetadataQuery.retrievePendingSegmentsOverlappingInterval(String dataSource, org.joda.time.Interval interval) Fetches all the pending segments, whose interval overlaps with the given search interval, from the metadata store.SqlSegmentsMetadataQuery.retrievePendingSegmentsWithExactInterval(String dataSource, org.joda.time.Interval interval) -
Uses of PendingSegmentRecord in org.apache.druid.metadata.segment
Methods in org.apache.druid.metadata.segment that return types with arguments of type PendingSegmentRecordModifier and TypeMethodDescriptionDatasourceSegmentMetadataReader.findPendingSegments(String taskAllocatorId) Retrieves pending segments that were allocated for the specifiedtaskAllocatorId.DatasourceSegmentMetadataReader.findPendingSegmentsOverlapping(org.joda.time.Interval interval) Retrieves pending segments overlapping the given interval.DatasourceSegmentMetadataReader.findPendingSegmentsWithExactInterval(org.joda.time.Interval interval) Retrieves pending segments whose interval exactly aligns with the given interval.Methods in org.apache.druid.metadata.segment with parameters of type PendingSegmentRecordModifier and TypeMethodDescriptionbooleanDatasourceSegmentMetadataWriter.insertPendingSegment(PendingSegmentRecord pendingSegment, boolean skipSegmentLineageCheck) Inserts a pending segment into the metadata store.Method parameters in org.apache.druid.metadata.segment with type arguments of type PendingSegmentRecordModifier and TypeMethodDescriptionintDatasourceSegmentMetadataWriter.insertPendingSegments(List<PendingSegmentRecord> pendingSegments, boolean skipSegmentLineageCheck) Inserts pending segments into the metadata store. -
Uses of PendingSegmentRecord in org.apache.druid.segment.realtime.appenderator
Methods in org.apache.druid.segment.realtime.appenderator with parameters of type PendingSegmentRecordModifier and TypeMethodDescriptionvoidStreamAppenderator.registerUpgradedPendingSegment(PendingSegmentRecord pendingSegmentRecord)