public class IcebergFormatLocationTransformer extends Object implements FormatLocationTransformer
Modifier and Type | Field and Description |
---|---|
static FormatLocationTransformer |
INSTANCE |
static String |
METADATA_SEPARATOR |
Constructor and Description |
---|
IcebergFormatLocationTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canTransform(String location)
Checks whether specified location can be transformed.
|
FileSelection |
transform(String location,
Function<String,FileSelection> selectionFactory)
Transforms specified location and returns
FileSelection instance with updated location. |
public static final FormatLocationTransformer INSTANCE
public static final String METADATA_SEPARATOR
public boolean canTransform(String location)
FormatLocationTransformer
canTransform
in interface FormatLocationTransformer
location
- location to checktrue
if specified location can be transformed,
false
otherwisepublic FileSelection transform(String location, Function<String,FileSelection> selectionFactory)
FormatLocationTransformer
FileSelection
instance with updated location.transform
in interface FormatLocationTransformer
location
- location to transformselectionFactory
- file selection factoryFileSelection
instance with updated locationCopyright © 1970 The Apache Software Foundation. All rights reserved.