Class IcebergFormatLocationTransformer
java.lang.Object
org.apache.drill.exec.store.iceberg.format.IcebergFormatLocationTransformer
- All Implemented Interfaces:
FormatLocationTransformer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canTransform
(String location) Checks whether specified location can be transformed.transform
(String location, Function<String, FileSelection> selectionFactory) Transforms specified location and returnsFileSelection
instance with updated location.
-
Field Details
-
INSTANCE
-
METADATA_SEPARATOR
- See Also:
-
-
Constructor Details
-
IcebergFormatLocationTransformer
public IcebergFormatLocationTransformer()
-
-
Method Details
-
canTransform
Description copied from interface:FormatLocationTransformer
Checks whether specified location can be transformed.- Specified by:
canTransform
in interfaceFormatLocationTransformer
- Parameters:
location
- location to check- Returns:
true
if specified location can be transformed,false
otherwise
-
transform
Description copied from interface:FormatLocationTransformer
Transforms specified location and returnsFileSelection
instance with updated location.- Specified by:
transform
in interfaceFormatLocationTransformer
- Parameters:
location
- location to transformselectionFactory
- file selection factory- Returns:
FileSelection
instance with updated location
-