Package com.mapr.client.impl
Class MapRClient
java.lang.Object
com.mapr.client.impl.MapRClient
- All Implemented Interfaces:
Connection,LifeCycle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mapr.fs.proto.Dbserver.ColumnFamilyScanResponsecolumnFamilyScan(Fid tableFid) createTable(String tablePath) doPathWalk(String filePath, Fid startFid) com.mapr.fs.proto.Fileserver.GetattrResponsecom.mapr.fs.proto.Common.SetattrMsgio.netty.channel.EventLoopGroupcom.mapr.fs.proto.Security.CredentialsMsggetMfsClientFromContainerId(int containerId) io.netty.channel.EventLoopGroupbooleanisSecure()booleancom.mapr.fs.proto.Dbserver.TabletLookupResponselookupTablet(String key, Fid tableFid, int numTablets) intnextEpoh()com.stumbleupon.async.Deferred<Object>start()com.stumbleupon.async.Deferred<Object>stop()com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.PutResponse>submitPutReq(Fid tableFid, String columnFamilyName, io.netty.buffer.ByteBuf rowKey, io.netty.buffer.ByteBuf rowValue) com.mapr.fs.proto.Fileserver.UnlinkResponse
-
Field Details
-
myCreds
protected com.mapr.fs.proto.Security.CredentialsMsg myCreds -
myAttr
protected com.mapr.fs.proto.Common.SetattrMsg myAttr
-
-
Constructor Details
-
MapRClient
-
-
Method Details
-
start
-
stop
-
isStarted
public boolean isStarted() -
getCldbClient
-
getCredentials
public com.mapr.fs.proto.Security.CredentialsMsg getCredentials() -
getAttributes
public com.mapr.fs.proto.Common.SetattrMsg getAttributes() -
nextEpoh
public int nextEpoh() -
getClientEventLoopGroup
public io.netty.channel.EventLoopGroup getClientEventLoopGroup() -
getServerEventLoopGroup
public io.netty.channel.EventLoopGroup getServerEventLoopGroup() -
isSecure
public boolean isSecure() -
getTable
- Specified by:
getTablein interfaceConnection- Throws:
MapRClientException
-
createTable
- Specified by:
createTablein interfaceConnection- Throws:
MapRClientException
-
getMfsClientFromContainerId
- Throws:
Exception
-
getRootFid
- Throws:
Exception
-
doPathWalk
- Throws:
Exception
-
unlink
- Throws:
Exception
-
getAttr
- Throws:
Exception
-
columnFamilyScan
public com.mapr.fs.proto.Dbserver.ColumnFamilyScanResponse columnFamilyScan(Fid tableFid) throws Exception - Throws:
Exception
-
lookupTablet
public com.mapr.fs.proto.Dbserver.TabletLookupResponse lookupTablet(String key, Fid tableFid, int numTablets) throws Exception - Throws:
Exception
-
submitPutReq
public com.stumbleupon.async.Deferred<com.mapr.fs.proto.Dbserver.PutResponse> submitPutReq(Fid tableFid, String columnFamilyName, io.netty.buffer.ByteBuf rowKey, io.netty.buffer.ByteBuf rowValue) throws Exception - Throws:
Exception
-