Uses of Class
org.apache.druid.timeline.DataSegment
-
-
Uses of DataSegment in org.apache.druid.indexer
Method parameters in org.apache.druid.indexer with type arguments of type DataSegment Modifier and Type Method Description voidMetadataStorageUpdaterJobHandler. publishSegments(String tableName, List<DataSegment> segments, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Uses of DataSegment in org.apache.druid.java.util.common.logger
Method parameters in org.apache.druid.java.util.common.logger with type arguments of type DataSegment Modifier and Type Method Description voidLogger. debugSegments(Collection<DataSegment> segments, String preamble)voidLogger. errorSegments(Collection<DataSegment> segments, String preamble)voidLogger. infoSegments(Collection<DataSegment> segments, String preamble)voidLogger. warnSegments(Collection<DataSegment> segments, String preamble) -
Uses of DataSegment in org.apache.druid.java.util.emitter.service
Methods in org.apache.druid.java.util.emitter.service with parameters of type DataSegment Modifier and Type Method Description static SegmentMetadataEventSegmentMetadataEvent. create(DataSegment segment, org.joda.time.DateTime eventTime) -
Uses of DataSegment in org.apache.druid.segment
Methods in org.apache.druid.segment that return DataSegment Modifier and Type Method Description DataSegmentDataSegmentWithMetadata. getDataSegment()Methods in org.apache.druid.segment that return types with arguments of type DataSegment Modifier and Type Method Description Set<DataSegment>DataSegmentsWithSchemas. getSegments()static Map<org.joda.time.Interval,List<DataSegment>>SegmentUtils. groupSegmentsByInterval(Collection<DataSegment> segments)Method parameters in org.apache.druid.segment with type arguments of type DataSegment Modifier and Type Method Description static ObjectSegmentUtils. commaSeparatedIdentifiers(Collection<DataSegment> segments)Returns an object whose toString() returns a String with identifiers of the given segments, comma-separated.static Map<org.joda.time.Interval,List<DataSegment>>SegmentUtils. groupSegmentsByInterval(Collection<DataSegment> segments)static StringSegmentUtils. hashIds(List<DataSegment> segments)Hash the IDs of the given segments based on SHA-256 algorithm.Constructors in org.apache.druid.segment with parameters of type DataSegment Constructor Description DataSegmentWithMetadata(DataSegment dataSegment, SchemaPayloadPlus schemaPayloadPlus)Constructor parameters in org.apache.druid.segment with type arguments of type DataSegment Constructor Description DataSegmentsWithSchemas(Set<DataSegment> segments, SegmentSchemaMapping segmentSchemaMapping) -
Uses of DataSegment in org.apache.druid.segment.generator
Methods in org.apache.druid.segment.generator that return DataSegment Modifier and Type Method Description DataSegmentGeneratorSchemaInfo. makeSegmentDescriptor(String dataSource) -
Uses of DataSegment in org.apache.druid.segment.loading
Methods in org.apache.druid.segment.loading that return DataSegment Modifier and Type Method Description DataSegmentDataSegmentArchiver. archive(DataSegment segment)Perform an archive task on the segment and return the resulting segment or null if there was no action needed.DataSegmentDataSegmentMover. move(DataSegment segment, Map<String,Object> targetLoadSpec)DataSegmentDataSegmentPusher. push(File file, DataSegment segment, boolean useUniquePath)Pushes index files and segment descriptor to deep storage.DataSegmentNoopDataSegmentPusher. push(File file, DataSegment segment, boolean replaceExisting)default DataSegmentDataSegmentPusher. pushToPath(File indexFilesDir, DataSegment segment, String storageDirSuffix)DataSegmentNoopDataSegmentPusher. pushToPath(File file, DataSegment segment, String storageDirSuffix)DataSegmentDataSegmentArchiver. restore(DataSegment segment)Perform the restore from an archived segment and return the resulting segment or null if there was no actionMethods in org.apache.druid.segment.loading with parameters of type DataSegment Modifier and Type Method Description DataSegmentDataSegmentArchiver. archive(DataSegment segment)Perform an archive task on the segment and return the resulting segment or null if there was no action needed.SegmentBroadcastJoinableMMappedQueryableSegmentizerFactory. factorize(DataSegment dataSegment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed)SegmentMMappedQueryableSegmentizerFactory. factorize(DataSegment dataSegment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed)SegmentSegmentizerFactory. factorize(DataSegment segment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed)SegmentTombstoneSegmentizerFactory. factorize(DataSegment segment, File parentDir, boolean lazy, SegmentLazyLoadFailCallback loadFailed)static StringDataSegmentPusher. getDefaultStorageDir(DataSegment segment, boolean useUniquePath)static StringDataSegmentPusher. getDefaultStorageDirWithExistingUniquePath(DataSegment segment, String uniquePath)default StringDataSegmentPusher. getStorageDir(DataSegment dataSegment)Deprecated.backward-compatibiliy shim that should be removed on next major release; useDataSegmentPusher.getStorageDir(DataSegment, boolean)instead.default StringDataSegmentPusher. getStorageDir(DataSegment dataSegment, boolean useUniquePath)voidDataSegmentKiller. kill(DataSegment segment)Removes segment files (index and metadata) from deep storage.default voidDataSegmentKiller. killQuietly(DataSegment segment)A more stoic killer who doesn't throw a tantrum if things get messy.default StringDataSegmentPusher. makeIndexPathName(DataSegment dataSegment, String indexName)DataSegmentDataSegmentMover. move(DataSegment segment, Map<String,Object> targetLoadSpec)DataSegmentDataSegmentPusher. push(File file, DataSegment segment, boolean useUniquePath)Pushes index files and segment descriptor to deep storage.DataSegmentNoopDataSegmentPusher. push(File file, DataSegment segment, boolean replaceExisting)default DataSegmentDataSegmentPusher. pushToPath(File indexFilesDir, DataSegment segment, String storageDirSuffix)DataSegmentNoopDataSegmentPusher. pushToPath(File file, DataSegment segment, String storageDirSuffix)DataSegmentDataSegmentArchiver. restore(DataSegment segment)Perform the restore from an archived segment and return the resulting segment or null if there was no actionstatic SegmentTombstoneSegmentizerFactory. segmentForTombstone(DataSegment tombstone)Method parameters in org.apache.druid.segment.loading with type arguments of type DataSegment Modifier and Type Method Description default voidDataSegmentKiller. kill(List<DataSegment> segments)Kills a list of segments from deep storage. -
Uses of DataSegment in org.apache.druid.timeline
Methods in org.apache.druid.timeline that return DataSegment Modifier and Type Method Description DataSegmentDataSegment.Builder. build()DataSegmentSegmentStatusInCluster. getDataSegment()DataSegmentDataSegment. withBinaryVersion(int binaryVersion)DataSegmentDataSegment. withDimensions(List<String> dimensions)DataSegmentDataSegment. withLastCompactionState(CompactionState compactionState)DataSegmentDataSegment. withLoadSpec(Map<String,Object> loadSpec)DataSegmentDataSegment. withMetrics(List<String> metrics)DataSegmentDataSegment. withShardSpec(ShardSpec newSpec)DataSegmentDataSegment. withSize(long size)DataSegmentDataSegment. withVersion(String version)Methods in org.apache.druid.timeline that return types with arguments of type DataSegment Modifier and Type Method Description static Function<Set<DataSegment>,Set<DataSegment>>CompactionState. addCompactionStateToSegments(PartitionsSpec partitionsSpec, DimensionsSpec dimensionsSpec, List<Object> metricsSpec, Map<String,Object> transformSpec, Map<String,Object> indexSpec, Map<String,Object> granularitySpec)static Function<Set<DataSegment>,Set<DataSegment>>CompactionState. addCompactionStateToSegments(PartitionsSpec partitionsSpec, DimensionsSpec dimensionsSpec, List<Object> metricsSpec, Map<String,Object> transformSpec, Map<String,Object> indexSpec, Map<String,Object> granularitySpec)Methods in org.apache.druid.timeline with parameters of type DataSegment Modifier and Type Method Description static DataSegment.BuilderDataSegment. builder(DataSegment segment)intDataSegment. compareTo(DataSegment dataSegment)booleanSegmentTimeline. isOvershadowed(DataSegment segment)booleanDataSegment. overshadows(DataSegment other)Method parameters in org.apache.druid.timeline with type arguments of type DataSegment Modifier and Type Method Description voidSegmentTimeline. addSegments(Iterator<DataSegment> segments)static SegmentTimelineSegmentTimeline. forSegments(Iterable<DataSegment> segments)static SegmentTimelineSegmentTimeline. forSegments(Iterator<DataSegment> segments)Constructors in org.apache.druid.timeline with parameters of type DataSegment Constructor Description Builder(DataSegment segment)SegmentStatusInCluster(DataSegment dataSegment, boolean overshadowed, Integer replicationFactor, Long numRows, boolean realtime)
-