iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::ObjectStoreLocationProvider Class Reference
Inheritance diagram for iceberg::ObjectStoreLocationProvider:
iceberg::LocationProvider

Public Member Functions

 ObjectStoreLocationProvider (std::string_view location, const TableProperties &properties)
 
std::string NewDataLocation (std::string_view filename) override
 Return a fully-qualified data file location for the given filename.
 
Result< std::string > NewDataLocation (const PartitionSpec &spec, const PartitionValues &partition, std::string_view filename) override
 Return a fully-qualified data file location for the given partition and filename.
 

Additional Inherited Members

- Static Public Member Functions inherited from iceberg::LocationProvider
static Result< std::unique_ptr< LocationProvider > > Make (std::string_view location, const TableProperties &properties)
 Create a LocationProvider for the given table location and properties.
 

Member Function Documentation

◆ NewDataLocation() [1/2]

Result< std::string > iceberg::ObjectStoreLocationProvider::NewDataLocation ( const PartitionSpec spec,
const PartitionValues partition,
std::string_view  filename 
)
overridevirtual

Return a fully-qualified data file location for the given partition and filename.

Parameters
specpartition spec
partitiona tuple of partition values matching the given spec
filenamefile name
Returns
a fully-qualified location URI for a data file

Implements iceberg::LocationProvider.

◆ NewDataLocation() [2/2]

std::string iceberg::ObjectStoreLocationProvider::NewDataLocation ( std::string_view  filename)
overridevirtual

Return a fully-qualified data file location for the given filename.

Parameters
filenamefile name to get location
Returns
a fully-qualified location URI for a data file

Implements iceberg::LocationProvider.


The documentation for this class was generated from the following file: