Uses of Class
org.apache.druid.client.DataSourcesSnapshot
Packages that use DataSourcesSnapshot
Package
Description
-
Uses of DataSourcesSnapshot in org.apache.druid.client
Methods in org.apache.druid.client that return DataSourcesSnapshotModifier and TypeMethodDescriptionstatic DataSourcesSnapshotDataSourcesSnapshot.fromUsedSegments(Iterable<DataSegment> segments) static DataSourcesSnapshotDataSourcesSnapshot.fromUsedSegments(Iterable<DataSegment> segments, org.joda.time.DateTime snapshotTime) Creates a snapshot of all "used" segments that existed in the database at thesnapshotTime.static DataSourcesSnapshotDataSourcesSnapshot.fromUsedSegments(Map<String, Set<DataSegment>> datasourceToUsedSegments, org.joda.time.DateTime snapshotTime) Creates a snapshot of all "used" segments that existed in the database at thesnapshotTime. -
Uses of DataSourcesSnapshot in org.apache.druid.metadata
Methods in org.apache.druid.metadata that return DataSourcesSnapshotModifier and TypeMethodDescriptionSegmentsMetadataManager.forceUpdateDataSourcesSnapshot()Forces the manager to poll the metadata store and update its snapshot.SqlSegmentsMetadataManager.forceUpdateDataSourcesSnapshot()SegmentsMetadataManager.getRecentDataSourcesSnapshot()Returns the latest snapshot containing all used segments currently cached on the manager.SqlSegmentsMetadataManager.getRecentDataSourcesSnapshot() -
Uses of DataSourcesSnapshot in org.apache.druid.metadata.segment
Methods in org.apache.druid.metadata.segment that return DataSourcesSnapshotModifier and TypeMethodDescriptionSqlSegmentsMetadataManagerV2.forceUpdateDataSourcesSnapshot()SqlSegmentsMetadataManagerV2.getRecentDataSourcesSnapshot() -
Uses of DataSourcesSnapshot in org.apache.druid.metadata.segment.cache
Methods in org.apache.druid.metadata.segment.cache that return DataSourcesSnapshotModifier and TypeMethodDescriptionHeapMemorySegmentMetadataCache.getDataSourcesSnapshot()NoopSegmentMetadataCache.getDataSourcesSnapshot()SegmentMetadataCache.getDataSourcesSnapshot() -
Uses of DataSourcesSnapshot in org.apache.druid.server.compaction
Methods in org.apache.druid.server.compaction with parameters of type DataSourcesSnapshotModifier and TypeMethodDescriptionCompactionRunSimulator.simulateRunWithConfig(DruidCompactionConfig compactionConfig, DataSourcesSnapshot dataSourcesSnapshot, CompactionEngine defaultEngine) Simulates a run of the compact segments duty with the given compaction config assuming unlimited compaction task slots. -
Uses of DataSourcesSnapshot in org.apache.druid.server.coordinator
Methods in org.apache.druid.server.coordinator that return DataSourcesSnapshotMethods in org.apache.druid.server.coordinator with parameters of type DataSourcesSnapshotModifier and TypeMethodDescriptionDruidCoordinatorRuntimeParams.Builder.withDataSourcesSnapshot(DataSourcesSnapshot snapshot) -
Uses of DataSourcesSnapshot in org.apache.druid.server.coordinator.duty
Methods in org.apache.druid.server.coordinator.duty with parameters of type DataSourcesSnapshotModifier and TypeMethodDescriptionvoidCompactSegments.run(DruidCompactionConfig dynamicConfig, DataSourcesSnapshot dataSources, CompactionEngine defaultEngine, CoordinatorRunStats stats)