C# Class Apache.Hadoop.Thriftfs.Api.ThriftHadoopFileSystem.Client

Inheritance: Iface
Show file Open project: zbw911/CS4Hadoop Class Usage Examples

Protected Properties

Property Type Description
iprot_ Thrift.Protocol.TProtocol
oprot_ Thrift.Protocol.TProtocol
seqid_ int

Public Methods

Method Description
Client ( TProtocol prot ) : System
Client ( TProtocol iprot, TProtocol oprot ) : System
append ( Pathname path ) : ThriftHandle
chmod ( Pathname path, short mode ) : void
chown ( Pathname path, string owner, string group ) : void
close ( ThriftHandle _out ) : bool
create ( Pathname path ) : ThriftHandle
createFile ( Pathname path, short mode, bool overwrite, int bufferSize, short block_replication, long blocksize ) : ThriftHandle
exists ( Pathname path ) : bool
getFileBlockLocations ( Pathname path, long start, long length ) : List
listStatus ( Pathname path ) : List
mkdirs ( Pathname path ) : bool
open ( Pathname path ) : ThriftHandle
read ( ThriftHandle handle, long offset, int size ) : string
recv_append ( ) : ThriftHandle
recv_chmod ( ) : void
recv_chown ( ) : void
recv_close ( ) : bool
recv_create ( ) : ThriftHandle
recv_createFile ( ) : ThriftHandle
recv_exists ( ) : bool
recv_getFileBlockLocations ( ) : List
recv_listStatus ( ) : List
recv_mkdirs ( ) : bool
recv_open ( ) : ThriftHandle
recv_read ( ) : string
recv_rename ( ) : bool
recv_rm ( ) : bool
recv_setInactivityTimeoutPeriod ( ) : void
recv_setReplication ( ) : void
recv_shutdown ( ) : void
recv_stat ( ) : FileStatus
recv_write ( ) : bool
rename ( Pathname path, Pathname dest ) : bool
rm ( Pathname path, bool recursive ) : bool
send_append ( Pathname path ) : void
send_chmod ( Pathname path, short mode ) : void
send_chown ( Pathname path, string owner, string group ) : void
send_close ( ThriftHandle _out ) : void
send_create ( Pathname path ) : void
send_createFile ( Pathname path, short mode, bool overwrite, int bufferSize, short block_replication, long blocksize ) : void
send_exists ( Pathname path ) : void
send_getFileBlockLocations ( Pathname path, long start, long length ) : void
send_listStatus ( Pathname path ) : void
send_mkdirs ( Pathname path ) : void
send_open ( Pathname path ) : void
send_read ( ThriftHandle handle, long offset, int size ) : void
send_rename ( Pathname path, Pathname dest ) : void
send_rm ( Pathname path, bool recursive ) : void
send_setInactivityTimeoutPeriod ( long periodInSeconds ) : void
send_setReplication ( Pathname path, short replication ) : void
send_shutdown ( int status ) : void
send_stat ( Pathname path ) : void
send_write ( ThriftHandle handle, string data ) : void
setInactivityTimeoutPeriod ( long periodInSeconds ) : void
setReplication ( Pathname path, short replication ) : void
shutdown ( int status ) : void
stat ( Pathname path ) : FileStatus
write ( ThriftHandle handle, string data ) : bool

Method Details

Client() public method

public Client ( TProtocol prot ) : System
prot Thrift.Protocol.TProtocol
return System

Client() public method

public Client ( TProtocol iprot, TProtocol oprot ) : System
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return System

append() public method

public append ( Pathname path ) : ThriftHandle
path Pathname
return ThriftHandle

chmod() public method

public chmod ( Pathname path, short mode ) : void
path Pathname
mode short
return void

chown() public method

public chown ( Pathname path, string owner, string group ) : void
path Pathname
owner string
group string
return void

close() public method

public close ( ThriftHandle _out ) : bool
_out ThriftHandle
return bool

create() public method

public create ( Pathname path ) : ThriftHandle
path Pathname
return ThriftHandle

createFile() public method

public createFile ( Pathname path, short mode, bool overwrite, int bufferSize, short block_replication, long blocksize ) : ThriftHandle
path Pathname
mode short
overwrite bool
bufferSize int
block_replication short
blocksize long
return ThriftHandle

exists() public method

public exists ( Pathname path ) : bool
path Pathname
return bool

getFileBlockLocations() public method

public getFileBlockLocations ( Pathname path, long start, long length ) : List
path Pathname
start long
length long
return List

listStatus() public method

public listStatus ( Pathname path ) : List
path Pathname
return List

mkdirs() public method

public mkdirs ( Pathname path ) : bool
path Pathname
return bool

open() public method

public open ( Pathname path ) : ThriftHandle
path Pathname
return ThriftHandle

read() public method

public read ( ThriftHandle handle, long offset, int size ) : string
handle ThriftHandle
offset long
size int
return string

recv_append() public method

public recv_append ( ) : ThriftHandle
return ThriftHandle

recv_chmod() public method

public recv_chmod ( ) : void
return void

recv_chown() public method

public recv_chown ( ) : void
return void

recv_close() public method

public recv_close ( ) : bool
return bool

recv_create() public method

public recv_create ( ) : ThriftHandle
return ThriftHandle

recv_createFile() public method

public recv_createFile ( ) : ThriftHandle
return ThriftHandle

recv_exists() public method

public recv_exists ( ) : bool
return bool

recv_getFileBlockLocations() public method

public recv_getFileBlockLocations ( ) : List
return List

recv_listStatus() public method

public recv_listStatus ( ) : List
return List

recv_mkdirs() public method

public recv_mkdirs ( ) : bool
return bool

recv_open() public method

public recv_open ( ) : ThriftHandle
return ThriftHandle

recv_read() public method

public recv_read ( ) : string
return string

recv_rename() public method

public recv_rename ( ) : bool
return bool

recv_rm() public method

public recv_rm ( ) : bool
return bool

recv_setInactivityTimeoutPeriod() public method

public recv_setInactivityTimeoutPeriod ( ) : void
return void

recv_setReplication() public method

public recv_setReplication ( ) : void
return void

recv_shutdown() public method

public recv_shutdown ( ) : void
return void

recv_stat() public method

public recv_stat ( ) : FileStatus
return FileStatus

recv_write() public method

public recv_write ( ) : bool
return bool

rename() public method

public rename ( Pathname path, Pathname dest ) : bool
path Pathname
dest Pathname
return bool

rm() public method

public rm ( Pathname path, bool recursive ) : bool
path Pathname
recursive bool
return bool

send_append() public method

public send_append ( Pathname path ) : void
path Pathname
return void

send_chmod() public method

public send_chmod ( Pathname path, short mode ) : void
path Pathname
mode short
return void

send_chown() public method

public send_chown ( Pathname path, string owner, string group ) : void
path Pathname
owner string
group string
return void

send_close() public method

public send_close ( ThriftHandle _out ) : void
_out ThriftHandle
return void

send_create() public method

public send_create ( Pathname path ) : void
path Pathname
return void

send_createFile() public method

public send_createFile ( Pathname path, short mode, bool overwrite, int bufferSize, short block_replication, long blocksize ) : void
path Pathname
mode short
overwrite bool
bufferSize int
block_replication short
blocksize long
return void

send_exists() public method

public send_exists ( Pathname path ) : void
path Pathname
return void

send_getFileBlockLocations() public method

public send_getFileBlockLocations ( Pathname path, long start, long length ) : void
path Pathname
start long
length long
return void

send_listStatus() public method

public send_listStatus ( Pathname path ) : void
path Pathname
return void

send_mkdirs() public method

public send_mkdirs ( Pathname path ) : void
path Pathname
return void

send_open() public method

public send_open ( Pathname path ) : void
path Pathname
return void

send_read() public method

public send_read ( ThriftHandle handle, long offset, int size ) : void
handle ThriftHandle
offset long
size int
return void

send_rename() public method

public send_rename ( Pathname path, Pathname dest ) : void
path Pathname
dest Pathname
return void

send_rm() public method

public send_rm ( Pathname path, bool recursive ) : void
path Pathname
recursive bool
return void

send_setInactivityTimeoutPeriod() public method

public send_setInactivityTimeoutPeriod ( long periodInSeconds ) : void
periodInSeconds long
return void

send_setReplication() public method

public send_setReplication ( Pathname path, short replication ) : void
path Pathname
replication short
return void

send_shutdown() public method

public send_shutdown ( int status ) : void
status int
return void

send_stat() public method

public send_stat ( Pathname path ) : void
path Pathname
return void

send_write() public method

public send_write ( ThriftHandle handle, string data ) : void
handle ThriftHandle
data string
return void

setInactivityTimeoutPeriod() public method

public setInactivityTimeoutPeriod ( long periodInSeconds ) : void
periodInSeconds long
return void

setReplication() public method

public setReplication ( Pathname path, short replication ) : void
path Pathname
replication short
return void

shutdown() public method

public shutdown ( int status ) : void
status int
return void

stat() public method

public stat ( Pathname path ) : FileStatus
path Pathname
return FileStatus

write() public method

public write ( ThriftHandle handle, string data ) : bool
handle ThriftHandle
data string
return bool

Property Details

iprot_ protected property

protected TProtocol,Thrift.Protocol iprot_
return Thrift.Protocol.TProtocol

oprot_ protected property

protected TProtocol,Thrift.Protocol oprot_
return Thrift.Protocol.TProtocol

seqid_ protected property

protected int seqid_
return int