org.apache.hadoop.fs.http.server
Class FSOperations.FSConcat

java.lang.Object
  extended by org.apache.hadoop.fs.http.server.FSOperations.FSConcat
All Implemented Interfaces:
FileSystemAccess.FileSystemExecutor<Void>
Enclosing class:
FSOperations

@InterfaceAudience.Private
public static class FSOperations.FSConcat
extends Object
implements FileSystemAccess.FileSystemExecutor<Void>

Executor that performs an append FileSystemAccess files system operation.


Constructor Summary
FSOperations.FSConcat(String path, String[] sources)
          Creates a Concat executor.
 
Method Summary
 Void execute(org.apache.hadoop.fs.FileSystem fs)
          Executes the filesystem operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSOperations.FSConcat

public FSOperations.FSConcat(String path,
                             String[] sources)
Creates a Concat executor.

Parameters:
path - target path to concat to.
sources - comma seperated absolute paths to use as sources.
Method Detail

execute

public Void execute(org.apache.hadoop.fs.FileSystem fs)
             throws IOException
Executes the filesystem operation.

Specified by:
execute in interface FileSystemAccess.FileSystemExecutor<Void>
Parameters:
fs - filesystem instance to use.
Returns:
void.
Throws:
IOException - thrown if an IO error occured.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.