Java 类org.apache.hadoop.hbase.protobuf.generated.MasterProtos.CreateNamespaceResponse 实例源码

项目:ditb    文件:MasterRpcServices.java   
@Override
public CreateNamespaceResponse createNamespace(RpcController controller,
   CreateNamespaceRequest request) throws ServiceException {
  try {
    master.createNamespace(ProtobufUtil.toNamespaceDescriptor(request.getNamespaceDescriptor()));
    return CreateNamespaceResponse.getDefaultInstance();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:pbase    文件:MasterRpcServices.java   
@Override
public CreateNamespaceResponse createNamespace(RpcController controller,
   CreateNamespaceRequest request) throws ServiceException {
  try {
    master.createNamespace(ProtobufUtil.toNamespaceDescriptor(request.getNamespaceDescriptor()));
    return CreateNamespaceResponse.getDefaultInstance();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:HIndex    文件:HMaster.java   
@Override
public CreateNamespaceResponse createNamespace(RpcController controller,
   CreateNamespaceRequest request) throws ServiceException {
  try {
    createNamespace(ProtobufUtil.toNamespaceDescriptor(request.getNamespaceDescriptor()));
    return CreateNamespaceResponse.getDefaultInstance();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:PyroDB    文件:MasterRpcServices.java   
@Override
public CreateNamespaceResponse createNamespace(RpcController controller,
   CreateNamespaceRequest request) throws ServiceException {
  try {
    master.createNamespace(ProtobufUtil.toNamespaceDescriptor(request.getNamespaceDescriptor()));
    return CreateNamespaceResponse.getDefaultInstance();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}
项目:c5    文件:HMaster.java   
@Override
public CreateNamespaceResponse createNamespace(RpcController controller,
   CreateNamespaceRequest request) throws ServiceException {
  try {
    createNamespace(ProtobufUtil.toNamespaceDescriptor(request.getNamespaceDescriptor()));
    return CreateNamespaceResponse.getDefaultInstance();
  } catch (IOException e) {
    throw new ServiceException(e);
  }
}