Class IcebergFormatLocationTransformer
java.lang.Object
org.apache.drill.exec.store.iceberg.format.IcebergFormatLocationTransformer
- All Implemented Interfaces:
FormatLocationTransformer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTransform(String location) Checks whether specified location can be transformed.transform(String location, Function<String, FileSelection> selectionFactory) Transforms specified location and returnsFileSelectioninstance with updated location.
-
Field Details
-
INSTANCE
-
METADATA_SEPARATOR
- See Also:
-
-
Constructor Details
-
IcebergFormatLocationTransformer
public IcebergFormatLocationTransformer()
-
-
Method Details
-
canTransform
Description copied from interface:FormatLocationTransformerChecks whether specified location can be transformed.- Specified by:
canTransformin interfaceFormatLocationTransformer- Parameters:
location- location to check- Returns:
trueif specified location can be transformed,falseotherwise
-
transform
Description copied from interface:FormatLocationTransformerTransforms specified location and returnsFileSelectioninstance with updated location.- Specified by:
transformin interfaceFormatLocationTransformer- Parameters:
location- location to transformselectionFactory- file selection factory- Returns:
FileSelectioninstance with updated location
-