| Package | Description |
|---|---|
| org.gridgain.grid.kernal.ggfs.hadoop |
Contains GGFS client classes.
|
| Modifier and Type | Method and Description |
|---|---|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopWrapper.append(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean create,
Map<String,String> props)
Open file for output appending data to the end of a file.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopInProc.append(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean create,
Map<String,String> props)
Open file for output appending data to the end of a file.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopOutProc.append(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean create,
Map<String,String> props)
Open file for output appending data to the end of a file.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoop.append(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean create,
Map<String,String> props)
Open file for output appending data to the end of a file.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopWrapper.create(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean overwrite,
boolean colocate,
int replication,
long blockSize,
Map<String,String> props)
Command to create file and open it for output.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopInProc.create(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean overwrite,
boolean colocate,
int replication,
long blockSize,
Map<String,String> props)
Command to create file and open it for output.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopOutProc.create(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean overwrite,
boolean colocate,
int replication,
long blockSize,
Map<String,String> props)
Command to create file and open it for output.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoop.create(org.gridgain.grid.ggfs.GridGgfsPath path,
boolean overwrite,
boolean colocate,
int replication,
long blockSize,
Map<String,String> props)
Command to create file and open it for output.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopWrapper.open(org.gridgain.grid.ggfs.GridGgfsPath path)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopInProc.open(org.gridgain.grid.ggfs.GridGgfsPath path)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopOutProc.open(org.gridgain.grid.ggfs.GridGgfsPath path)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoop.open(org.gridgain.grid.ggfs.GridGgfsPath path)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopWrapper.open(org.gridgain.grid.ggfs.GridGgfsPath path,
int seqReadsBeforePrefetch)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopInProc.open(org.gridgain.grid.ggfs.GridGgfsPath path,
int seqReadsBeforePrefetch)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoopOutProc.open(org.gridgain.grid.ggfs.GridGgfsPath path,
int seqReadsBeforePrefetch)
Command to open file for reading.
|
GridGgfsHadoopStreamDelegate |
GridGgfsHadoop.open(org.gridgain.grid.ggfs.GridGgfsPath path,
int seqReadsBeforePrefetch)
Command to open file for reading.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridGgfsHadoopEx.addEventListener(GridGgfsHadoopStreamDelegate delegate,
GridGgfsHadoopStreamEventListener lsnr)
Adds event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopInProc.addEventListener(GridGgfsHadoopStreamDelegate delegate,
GridGgfsHadoopStreamEventListener lsnr)
Adds event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopOutProc.addEventListener(GridGgfsHadoopStreamDelegate desc,
GridGgfsHadoopStreamEventListener lsnr)
Adds event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopEx.closeStream(GridGgfsHadoopStreamDelegate delegate)
Close server stream.
|
void |
GridGgfsHadoopInProc.closeStream(GridGgfsHadoopStreamDelegate desc)
Close server stream.
|
void |
GridGgfsHadoopOutProc.closeStream(GridGgfsHadoopStreamDelegate desc)
Close server stream.
|
void |
GridGgfsHadoopEx.flush(GridGgfsHadoopStreamDelegate delegate)
Flush output stream.
|
void |
GridGgfsHadoopInProc.flush(GridGgfsHadoopStreamDelegate delegate)
Flush output stream.
|
void |
GridGgfsHadoopOutProc.flush(GridGgfsHadoopStreamDelegate delegate)
Flush output stream.
|
org.gridgain.grid.util.lang.GridPlainFuture<byte[]> |
GridGgfsHadoopEx.readData(GridGgfsHadoopStreamDelegate delegate,
long pos,
int len,
byte[] outBuf,
int outOff,
int outLen)
Asynchronously reads specified amount of bytes from opened input stream.
|
org.gridgain.grid.util.lang.GridPlainFuture<byte[]> |
GridGgfsHadoopInProc.readData(GridGgfsHadoopStreamDelegate delegate,
long pos,
int len,
byte[] outBuf,
int outOff,
int outLen)
Asynchronously reads specified amount of bytes from opened input stream.
|
org.gridgain.grid.util.lang.GridPlainFuture<byte[]> |
GridGgfsHadoopOutProc.readData(GridGgfsHadoopStreamDelegate desc,
long pos,
int len,
byte[] outBuf,
int outOff,
int outLen)
Asynchronously reads specified amount of bytes from opened input stream.
|
void |
GridGgfsHadoopEx.removeEventListener(GridGgfsHadoopStreamDelegate delegate)
Removes event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopInProc.removeEventListener(GridGgfsHadoopStreamDelegate delegate)
Removes event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopOutProc.removeEventListener(GridGgfsHadoopStreamDelegate desc)
Removes event listener that will be invoked when connection with server is lost or remote error has occurred.
|
void |
GridGgfsHadoopEx.writeData(GridGgfsHadoopStreamDelegate delegate,
byte[] data,
int off,
int len)
Writes data to the stream with given streamId.
|
void |
GridGgfsHadoopInProc.writeData(GridGgfsHadoopStreamDelegate delegate,
byte[] data,
int off,
int len)
Writes data to the stream with given streamId.
|
void |
GridGgfsHadoopOutProc.writeData(GridGgfsHadoopStreamDelegate desc,
byte[] data,
int off,
int len)
Writes data to the stream with given streamId.
|
| Constructor and Description |
|---|
GridGgfsHadoopInputStream(GridGgfsHadoopStreamDelegate delegate,
long limit,
int bufSize,
org.apache.commons.logging.Log log,
GridGgfsHadoopLogger clientLog,
long logStreamId)
Creates input stream.
|
GridGgfsHadoopOutputStream(GridGgfsHadoopStreamDelegate delegate,
org.apache.commons.logging.Log log,
GridGgfsHadoopLogger clientLog,
long logStreamId)
Creates light output stream.
|
Copyright © 2014. All rights reserved.