Method | Description | |
---|---|---|
Connect ( Thrift.Transport.TBufferedTransport &tsport ) : ThriftHadoopFileSystem.Client | ||
Create ( ThriftHadoopFileSystem client, string localPath, string path ) : bool | ||
Delete ( string path, bool recursive ) : bool |
删除文件或文件夹
|
|
FSClient ( ) : System | ||
FSClient ( string host, int port ) : System | ||
GetFileStatus ( string path ) : FileStatus | ||
GetFlolderList ( string path ) : List |
||
MakeDir ( string path ) : bool | ||
MoveFile ( string sourcePath, string dectPath ) : List |
||
MutDownLoad ( |
||
MutUpload ( |
||
Open ( ThriftHadoopFileSystem client, string path, string savePath, long fileLength ) : bool | ||
ReName ( string oldPath, string newPath ) : bool |
public Connect ( Thrift.Transport.TBufferedTransport &tsport ) : ThriftHadoopFileSystem.Client | ||
tsport | Thrift.Transport.TBufferedTransport | |
return | ThriftHadoopFileSystem.Client |
public Create ( ThriftHadoopFileSystem client, string localPath, string path ) : bool | ||
client | ThriftHadoopFileSystem | |
localPath | string | |
path | string | |
return | bool |
public Delete ( string path, bool recursive ) : bool | ||
path | string | |
recursive | bool | 是否删除子文件夹 |
return | bool |
public FSClient ( string host, int port ) : System | ||
host | string | |
port | int | |
return | System |
public GetFileStatus ( string path ) : FileStatus | ||
path | string | |
return | FileStatus |
public MoveFile ( string sourcePath, string dectPath ) : List |
||
sourcePath | string | |
dectPath | string | |
return | List |
public MutDownLoad ( |
||
worker | ||
localRootPath | string | |
fileList | List |
|
fileType | int | |
return | void |
public MutUpload ( |
||
worker | ||
localPath | List |
|
remoteRootPath | string | |
localRootPath | string | |
return | void |
public Open ( ThriftHadoopFileSystem client, string path, string savePath, long fileLength ) : bool | ||
client | ThriftHadoopFileSystem | |
path | string | |
savePath | string | |
fileLength | long | |
return | bool |
public ReName ( string oldPath, string newPath ) : bool | ||
oldPath | string | |
newPath | string | |
return | bool |