org.apache.flink.util.WrappingProxy Java Examples
The following examples show how to use
org.apache.flink.util.WrappingProxy.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FileSystemTest.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
private static FileSystem getFileSystemWithoutSafetyNet(final String uri) throws URISyntaxException, IOException { final FileSystem fileSystem = FileSystem.get(new URI(uri)); if (fileSystem instanceof WrappingProxy) { //noinspection unchecked return WrappingProxyUtil.stripProxy((WrappingProxy<FileSystem>) fileSystem); } return fileSystem; }
Example #2
Source File: FileSystemTest.java From flink with Apache License 2.0 | 5 votes |
private static FileSystem getFileSystemWithoutSafetyNet(final String uri) throws URISyntaxException, IOException { final FileSystem fileSystem = FileSystem.get(new URI(uri)); if (fileSystem instanceof WrappingProxy) { //noinspection unchecked return WrappingProxyUtil.stripProxy((WrappingProxy<FileSystem>) fileSystem); } return fileSystem; }
Example #3
Source File: FileSystemTest.java From flink with Apache License 2.0 | 5 votes |
private static FileSystem getFileSystemWithoutSafetyNet(final String uri) throws URISyntaxException, IOException { final FileSystem fileSystem = FileSystem.get(new URI(uri)); if (fileSystem instanceof WrappingProxy) { //noinspection unchecked return WrappingProxyUtil.stripProxy((WrappingProxy<FileSystem>) fileSystem); } return fileSystem; }