Class FilesystemDatasetUtils
- java.lang.Object
-
- io.openlineage.client.utils.filesystem.FilesystemDatasetUtils
-
public class FilesystemDatasetUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FilesystemDatasetUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatasetIdentifier
fromLocation(java.net.URI location)
Get DatasetIdentifier from table location URIstatic DatasetIdentifier
fromLocationAndName(java.net.URI location, java.lang.String name)
Get DatasetIdentifier from table location URI and namestatic java.net.URI
toLocation(DatasetIdentifier di)
Get URI from DatasetIdentifier
-
-
-
Method Detail
-
fromLocation
public static DatasetIdentifier fromLocation(java.net.URI location)
Get DatasetIdentifier from table location URI- Parameters:
location
- filesystem location- Returns:
- DatasetIdentifier
-
fromLocationAndName
public static DatasetIdentifier fromLocationAndName(java.net.URI location, java.lang.String name)
Get DatasetIdentifier from table location URI and name- Parameters:
location
- filesystem locationname
- table name- Returns:
- DatasetIdentifier
-
toLocation
public static java.net.URI toLocation(DatasetIdentifier di)
Get URI from DatasetIdentifier- Parameters:
di
- dataset identifier- Returns:
- URI
-
-