Interface SegmentIndexResolver
- All Known Implementing Classes:
SingleTileSegmentIndexResolver
public interface SegmentIndexResolver
For a particular segment, identified by its
SegmentReference
,
resolves its destination output partition and index in that partition.
This is used by the RangeBasedPropertyCompiler
.
Should return None
if a segment cannot be resolved but this is not fatal.
In this case, the corresponding segment will be omitted from the output.
Should throw an exception if a segment cannot be resolved and this should be fatal. In this case, compilation will be aborted.
-
Method Summary
Modifier and TypeMethodDescriptionscala.Option<scala.Tuple2<PartitionId,
SegmentIndex>> apply
(SegmentReference ref)
-
Method Details
-
apply
-