Logo
Public Member Functions | List of all members
com.dicl.velox.VeloxDFS Class Reference
Collaboration diagram for com.dicl.velox.VeloxDFS:
Collaboration graph

Public Member Functions

 VeloxDFS (String mr_job_id, long tid, boolean initializer)
 
void destroy ()
 
long getVeloxDFS ()
 
native long open (String name)
 
native boolean close (long fid)
 
native boolean isOpen (long fid)
 
native long write (long fid, long pos, byte[] buf, long off, long len)
 
native long write (long fid, long pos, byte[] buf, long off, long len, long blockSize)
 
native long read (long fid, long pos, byte[] buf, long off, long len)
 
native int readChunk (byte[] buf, int boff)
 
native Metadata getMetadata (long fid, byte type)
 
native boolean remove (String name)
 
native boolean exists (String name)
 
native Metadata[] list (boolean all, String name)
 
native boolean rename (String src, String dst)
 
native void write_file (String file_name, String buf, long len)
 

Constructor & Destructor Documentation

◆ VeloxDFS()

com.dicl.velox.VeloxDFS.VeloxDFS ( String  mr_job_id,
long  tid,
boolean  initializer 
)
inline

Member Function Documentation

◆ close()

native boolean com.dicl.velox.VeloxDFS.close ( long  fid)

◆ destroy()

void com.dicl.velox.VeloxDFS.destroy ( )
inline

◆ exists()

native boolean com.dicl.velox.VeloxDFS.exists ( String  name)

◆ getMetadata()

native Metadata com.dicl.velox.VeloxDFS.getMetadata ( long  fid,
byte  type 
)

◆ getVeloxDFS()

long com.dicl.velox.VeloxDFS.getVeloxDFS ( )
inline

◆ isOpen()

native boolean com.dicl.velox.VeloxDFS.isOpen ( long  fid)

◆ list()

native Metadata [] com.dicl.velox.VeloxDFS.list ( boolean  all,
String  name 
)

◆ open()

native long com.dicl.velox.VeloxDFS.open ( String  name)

◆ read()

native long com.dicl.velox.VeloxDFS.read ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len 
)

◆ readChunk()

native int com.dicl.velox.VeloxDFS.readChunk ( byte[]  buf,
int  boff 
)

◆ remove()

native boolean com.dicl.velox.VeloxDFS.remove ( String  name)

◆ rename()

native boolean com.dicl.velox.VeloxDFS.rename ( String  src,
String  dst 
)

◆ write() [1/2]

native long com.dicl.velox.VeloxDFS.write ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len 
)

◆ write() [2/2]

native long com.dicl.velox.VeloxDFS.write ( long  fid,
long  pos,
byte[]  buf,
long  off,
long  len,
long  blockSize 
)

◆ write_file()

native void com.dicl.velox.VeloxDFS.write_file ( String  file_name,
String  buf,
long  len 
)

The documentation for this class was generated from the following file: