Package org.apache.iceberg.io
Interface LocationProvider
- All Superinterfaces:
- Serializable
Interface for providing data file locations to write tasks.
 
Implementations must be Serializable because instances will be serialized to tasks.
- 
Method SummaryModifier and TypeMethodDescriptionnewDataLocation(String filename) Return a fully-qualified data file location for the given filename.newDataLocation(PartitionSpec spec, StructLike partitionData, String filename) Return a fully-qualified data file location for the given partition and filename.
- 
Method Details- 
newDataLocationReturn a fully-qualified data file location for the given filename.- Parameters:
- filename- a file name
- Returns:
- a fully-qualified location URI for a data file
 
- 
newDataLocationReturn a fully-qualified data file location for the given partition and filename.- Parameters:
- spec- a partition spec
- partitionData- a tuple of partition data for data in the file, matching the given spec
- filename- a file name
- Returns:
- a fully-qualified location URI for a data file
 
 
-