Class NoopPathValidator
java.lang.Object
org.apache.beam.sdk.extensions.gcp.storage.NoopPathValidator
- All Implemented Interfaces:
 PathValidator
For internal use only; no backwards compatibility guarantees.
 
Noop implementation of PathValidator. All paths are allowed and returned unchanged.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic PathValidatorfromOptions(PipelineOptions options) voidvalidateInputFilePatternSupported(String filepattern) Validate that a file pattern is conforming.voidvalidateOutputFilePrefixSupported(String filePrefix) Validate that an output file prefix is conforming.voidvalidateOutputResourceSupported(ResourceId resourceId) Validates that an output path is conforming.verifyPath(String path) Validate that a path is a valid path and that the path is accessible. 
- 
Method Details
- 
fromOptions
 - 
validateInputFilePatternSupported
Description copied from interface:PathValidatorValidate that a file pattern is conforming.- Specified by:
 validateInputFilePatternSupportedin interfacePathValidator- Parameters:
 filepattern- The file pattern to verify.
 - 
validateOutputFilePrefixSupported
Description copied from interface:PathValidatorValidate that an output file prefix is conforming.- Specified by:
 validateOutputFilePrefixSupportedin interfacePathValidator- Parameters:
 filePrefix- the file prefix to verify.
 - 
validateOutputResourceSupported
Description copied from interface:PathValidatorValidates that an output path is conforming.- Specified by:
 validateOutputResourceSupportedin interfacePathValidator- Parameters:
 resourceId- the file prefix to verify.
 - 
verifyPath
Description copied from interface:PathValidatorValidate that a path is a valid path and that the path is accessible.- Specified by:
 verifyPathin interfacePathValidator- Parameters:
 path- The path to verify.- Returns:
 - The post-validation path.
 
 
 -