Interface PathValidator

All Known Implementing Classes:
GcsPathValidator, NoopPathValidator

@Internal public interface PathValidator
For internal use only; no backwards compatibility guarantees.

Interface for controlling validation of paths.

  • Method Details

    • validateInputFilePatternSupported

      void validateInputFilePatternSupported(String filepattern)
      Validate that a file pattern is conforming.
      Parameters:
      filepattern - The file pattern to verify.
    • validateOutputFilePrefixSupported

      void validateOutputFilePrefixSupported(String filePrefix)
      Validate that an output file prefix is conforming.
      Parameters:
      filePrefix - the file prefix to verify.
    • validateOutputResourceSupported

      void validateOutputResourceSupported(ResourceId resourceId)
      Validates that an output path is conforming.
      Parameters:
      resourceId - the file prefix to verify.
    • verifyPath

      String verifyPath(String path)
      Validate that a path is a valid path and that the path is accessible.
      Parameters:
      path - The path to verify.
      Returns:
      The post-validation path.