public class IcebergBlockMapBuilder extends Object
Constructor and Description |
---|
IcebergBlockMapBuilder(org.apache.hadoop.fs.FileSystem fs,
Collection<CoordinationProtos.DrillbitEndpoint> endpoints) |
Modifier and Type | Method and Description |
---|---|
List<IcebergCompleteWork> |
generateFileWork(Iterable<org.apache.iceberg.CombinedScanTask> combinedScanTasks) |
EndpointByteMap |
getEndpointByteMap(org.apache.iceberg.CombinedScanTask scanTask)
For a given FileWork, calculate how many bytes are available on each on drillbit endpoint
|
public IcebergBlockMapBuilder(org.apache.hadoop.fs.FileSystem fs, Collection<CoordinationProtos.DrillbitEndpoint> endpoints)
public List<IcebergCompleteWork> generateFileWork(Iterable<org.apache.iceberg.CombinedScanTask> combinedScanTasks) throws IOException
IOException
public EndpointByteMap getEndpointByteMap(org.apache.iceberg.CombinedScanTask scanTask) throws IOException
scanTask
- the CombinedScanTask to calculate endpoint bytes forIOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.