Interface for providing data file locations.
More...
#include <location_provider.h>
|
| virtual std::string | NewDataLocation (std::string_view filename)=0 |
| | Return a fully-qualified data file location for the given filename.
|
| |
| virtual Result< std::string > | NewDataLocation (const PartitionSpec &spec, const PartitionValues &partition, std::string_view filename)=0 |
| | Return a fully-qualified data file location for the given partition and filename.
|
| |
Interface for providing data file locations.
◆ Make()
Create a LocationProvider for the given table location and properties.
- Parameters
-
| location | table location |
| properties | table properties |
- Returns
- a LocationProvider instance
◆ NewDataLocation() [1/2]
Return a fully-qualified data file location for the given partition and filename.
- Parameters
-
| spec | partition spec |
| partition | a tuple of partition values matching the given spec |
| filename | file name |
- Returns
- a fully-qualified location URI for a data file
◆ NewDataLocation() [2/2]
| virtual std::string iceberg::LocationProvider::NewDataLocation |
( |
std::string_view |
filename | ) |
|
|
pure virtual |
Return a fully-qualified data file location for the given filename.
- Parameters
-
| filename | file name to get location |
- Returns
- a fully-qualified location URI for a data file
The documentation for this class was generated from the following file: