connection, serviceHostsepoch, mapRClient, nextCallId, nextConnId| Constructor and Description |
|---|
MfsClient(MapRClient maprClient,
com.mapr.fs.proto.Common.Server mfsServer,
boolean isSecure) |
| Modifier and Type | Method and Description |
|---|---|
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.ColumnFamilyCreateResponse> |
columnFamilyCreate(java.lang.String cfName,
Fid tableFid) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.ColumnFamilyScanResponse> |
columnFamilyScan(Fid tableFid) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.GetattrResponse> |
getattr(Fid fileFid) |
com.mapr.fs.proto.Common.Server |
getMfsServer() |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.GetTableSchemaResponse> |
getTableSchema(Fid tableFid) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.LookupResponse> |
lookup(java.lang.String fileName,
Fid parentFid) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.PathWalkPlusResponse> |
pathWalkPlus(java.lang.String filePath,
Fid startFid) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.PutResponse> |
put(Fid tabletFid,
long schemaVersion,
java.lang.Iterable<com.mapr.fs.proto.Dbserver.CompressedRow> compRowList,
io.netty.buffer.ByteBuf payload) |
com.stumbleupon.async.Deferred<java.lang.Object> |
startClient() |
com.stumbleupon.async.Deferred<java.lang.Object> |
stopClient() |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.TableCreateResponse> |
tableCreate(java.lang.String tableName,
Fid parent,
boolean isJson) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.TabletLookupResponse> |
tabletLookup(Fid tableFid,
io.netty.buffer.ByteBuf key,
int numTablets) |
com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.UnlinkResponse> |
unlink(java.lang.String filePath,
Fid parentFid) |
sendRequest, startBinding, stopBindinggetClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stoppublic MfsClient(MapRClient maprClient, com.mapr.fs.proto.Common.Server mfsServer, boolean isSecure)
public com.stumbleupon.async.Deferred<java.lang.Object> startClient()
startClient in class RpcClientpublic com.stumbleupon.async.Deferred<java.lang.Object> stopClient()
stopClient in class RpcClientpublic com.mapr.fs.proto.Common.Server getMfsServer()
public com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.LookupResponse> lookup(java.lang.String fileName,
Fid parentFid)
throws java.lang.InterruptedException,
java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.UnlinkResponse> unlink(java.lang.String filePath,
Fid parentFid)
throws java.lang.InterruptedException,
java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.PathWalkPlusResponse> pathWalkPlus(java.lang.String filePath,
Fid startFid)
throws java.lang.InterruptedException,
java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Fileserver.GetattrResponse> getattr(Fid fileFid) throws java.lang.InterruptedException, java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.TableCreateResponse> tableCreate(java.lang.String tableName,
Fid parent,
boolean isJson)
throws java.lang.InterruptedException,
java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.ColumnFamilyScanResponse> columnFamilyScan(Fid tableFid) throws java.lang.InterruptedException, java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.ColumnFamilyCreateResponse> columnFamilyCreate(java.lang.String cfName,
Fid tableFid)
throws java.lang.InterruptedException,
java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.GetTableSchemaResponse> getTableSchema(Fid tableFid) throws java.lang.InterruptedException, java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.TabletLookupResponse> tabletLookup(Fid tableFid, io.netty.buffer.ByteBuf key, int numTablets) throws java.lang.InterruptedException, java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exceptionpublic com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.PutResponse> put(Fid tabletFid, long schemaVersion, java.lang.Iterable<com.mapr.fs.proto.Dbserver.CompressedRow> compRowList, io.netty.buffer.ByteBuf payload) throws java.lang.InterruptedException, java.lang.Exception
java.lang.InterruptedExceptionjava.lang.Exception