public class ActionBasedUsedSegmentChecker extends Object implements UsedSegmentChecker
Constructor and Description |
---|
ActionBasedUsedSegmentChecker(TaskActionClient taskActionClient) |
Modifier and Type | Method and Description |
---|---|
Set<DataSegment> |
findUsedSegments(Set<SegmentIdentifier> identifiers)
For any identifiers that exist and are actually used, returns the corresponding DataSegment objects.
|
public ActionBasedUsedSegmentChecker(TaskActionClient taskActionClient)
public Set<DataSegment> findUsedSegments(Set<SegmentIdentifier> identifiers) throws IOException
UsedSegmentChecker
findUsedSegments
in interface UsedSegmentChecker
identifiers
- identifiers to search forIOException
Copyright © 2011–2017. All rights reserved.