cascading.tap.hadoop
Class HttpFileSystem

java.lang.Object
  extended by FileSystem
      extended by cascading.tap.hadoop.StreamedFileSystem
          extended by 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.


Field Summary
static String HTTP_SCHEME
          Field HTTP_SCHEME
static String HTTPS_SCHEME
          Field HTTPS_SCHEME
 
Constructor Summary
HttpFileSystem()
           
 
Method Summary
 boolean exists(Path path)
           
 FileStatus getFileStatus(Path path)
           
 URI getUri()
           
 FileStatus[] globStatus(Path path, PathFilter pathFilter)
           
 void initialize(URI uri, Configuration configuration)
           
 FSDataInputStream open(Path path, int i)
           
 
Methods inherited from class cascading.tap.hadoop.StreamedFileSystem
create, delete, delete, getMD5SumFor, getWorkingDirectory, listStatus, mkdirs, rename, setMD5SumFor, setWorkingDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HttpFileSystem

public HttpFileSystem()
Method Detail

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.