cascading.tap.hadoop
Class HttpFileSystem
java.lang.Object
FileSystem
cascading.tap.hadoop.StreamedFileSystem
cascading.tap.hadoop.HttpFileSystem
public class HttpFileSystem
- extends StreamedFileSystem
Class HttpFileSystem provides a basic read-only FileSystem for accessing remote HTTP and HTTPS data.
To use this FileSystem, just use regular http:// or https:// URLs.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_SCHEME
public static final String HTTP_SCHEME
- Field HTTP_SCHEME
- See Also:
- Constant Field Values
HTTPS_SCHEME
public static final String HTTPS_SCHEME
- Field HTTPS_SCHEME
- See Also:
- Constant Field Values
HttpFileSystem
public HttpFileSystem()
initialize
public void initialize(URI uri,
Configuration configuration)
throws IOException
- Throws:
IOException
getUri
public URI getUri()
globStatus
public FileStatus[] globStatus(Path path,
PathFilter pathFilter)
throws IOException
- Throws:
IOException
open
public FSDataInputStream open(Path path,
int i)
throws IOException
- Throws:
IOException
exists
public boolean exists(Path path)
throws IOException
- Throws:
IOException
getFileStatus
public FileStatus getFileStatus(Path path)
throws IOException
- Throws:
IOException
Copyright © 2007-2008 Concurrent, Inc. All Rights Reserved.