public class HttpFileSystem extends StreamedFileSystem
FileSystem for accessing remote HTTP and HTTPS data.
To use this FileSystem, just use regular http:// or https:// URLs.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HTTP_SCHEME
Field HTTP_SCHEME
|
static java.lang.String |
HTTPS_SCHEME
Field HTTPS_SCHEME
|
| Constructor and Description |
|---|
HttpFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(Path path) |
FileStatus |
getFileStatus(Path path) |
java.net.URI |
getUri() |
FileStatus[] |
globStatus(Path path,
PathFilter pathFilter) |
void |
initialize(java.net.URI uri,
Configuration configuration) |
FSDataInputStream |
open(Path path,
int i) |
append, create, delete, delete, getMD5SumFor, getMD5SumFor, getWorkingDirectory, listStatus, mkdirs, rename, setMD5SumFor, setMD5SumFor, setWorkingDirectorypublic static final java.lang.String HTTP_SCHEME
public static final java.lang.String HTTPS_SCHEME
public HttpFileSystem()
public void initialize(java.net.URI uri, Configuration configuration) throws java.io.IOException
java.io.IOExceptionpublic java.net.URI getUri()
public FileStatus[] globStatus(Path path, PathFilter pathFilter) throws java.io.IOException
java.io.IOExceptionpublic FSDataInputStream open(Path path, int i) throws java.io.IOException
java.io.IOExceptionpublic boolean exists(Path path) throws java.io.IOException
java.io.IOExceptionpublic FileStatus getFileStatus(Path path) throws java.io.IOException
java.io.IOExceptionCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.