| Package | Description |
|---|---|
| org.apache.druid.segment.loading |
| Modifier and Type | Method and Description |
|---|---|
DataSegment |
DataSegmentArchiver.archive(DataSegment segment)
Perform an archive task on the segment and return the resulting segment or null if there was no action needed.
|
Set<DataSegment> |
DataSegmentFinder.findSegments(String workingDirPath,
boolean updateDescriptor)
This method should first recursively look for descriptor.json (partitionNum_descriptor.json for HDFS data storage) underneath
workingDirPath and then verify that index.zip (partitionNum_index.zip for HDFS data storage) exists in the same folder.
|
void |
DataSegmentKiller.kill(DataSegment segment)
Removes segment files (index and metadata) from deep storage.
|
LoadSpec.LoadSpecResult |
LoadSpec.loadSegment(File destDir)
Method should put the segment files in the directory passed
|
DataSegment |
DataSegmentMover.move(DataSegment segment,
Map<String,Object> targetLoadSpec) |
DataSegment |
DataSegmentArchiver.restore(DataSegment segment)
Perform the restore from an archived segment and return the resulting segment or null if there was no action
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.