Class FilesystemDatasetUtils

java.lang.Object
io.openlineage.client.utils.filesystem.FilesystemDatasetUtils

public class FilesystemDatasetUtils extends Object
  • Constructor Details

    • FilesystemDatasetUtils

      public FilesystemDatasetUtils()
  • Method Details

    • fromLocation

      public static DatasetIdentifier fromLocation(URI location)
      Get DatasetIdentifier from table location URI
      Parameters:
      location - filesystem location
      Returns:
      DatasetIdentifier
    • fromLocationAndName

      public static DatasetIdentifier fromLocationAndName(URI location, String name)
      Get DatasetIdentifier from table location URI and name
      Parameters:
      location - filesystem location
      name - table name
      Returns:
      DatasetIdentifier
    • toLocation

      public static URI toLocation(DatasetIdentifier di)
      Get URI from DatasetIdentifier
      Parameters:
      di - dataset identifier
      Returns:
      URI