当前位置: 首页>>代码示例>>Java>>正文


Java ORecordId.getRecord方法代码示例

本文整理汇总了Java中com.orientechnologies.orient.core.id.ORecordId.getRecord方法的典型用法代码示例。如果您正苦于以下问题:Java ORecordId.getRecord方法的具体用法?Java ORecordId.getRecord怎么用?Java ORecordId.getRecord使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.orientechnologies.orient.core.id.ORecordId的用法示例。


在下文中一共展示了ORecordId.getRecord方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getBasetermDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getBasetermDocById (long id) throws ObjectNotFoundException {
    	ORecordId rid =   (ORecordId)btermIdIdx.get( id ); 
        
    	if ( rid != null) {
    		return rid.getRecord();
    	}
  
    	throw new ObjectNotFoundException(NdexClasses.BaseTerm, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例2: getNodeDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getNodeDocById (long id) throws ObjectNotFoundException {
   	ORecordId rid =   (ORecordId)nodeIdIdx.get( id ); 
       
   	if ( rid != null) {
   		return rid.getRecord();
   	}
 
   	throw new ObjectNotFoundException(NdexClasses.Node, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例3: getEdgeDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getEdgeDocById (long id) throws ObjectNotFoundException {
   	ORecordId rid =   (ORecordId)edgeIdIdx.get( id ); 
       
   	if ( rid != null) {
   		return rid.getRecord();
   	}
 
   	throw new ObjectNotFoundException(NdexClasses.Edge, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例4: getFunctionDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getFunctionDocById (long id) throws ObjectNotFoundException {
	ORecordId rid =   (ORecordId)funcIdIdx.get( id ); 
    
	if ( rid != null) {
		return rid.getRecord();
	}
  
	throw new ObjectNotFoundException(NdexClasses.FunctionTerm, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例5: getReifiedEdgeDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getReifiedEdgeDocById (long id) throws ObjectNotFoundException {
	ORecordId rid =   (ORecordId)reifiedEdgeIdIdx.get( id ); 
    
	if ( rid != null) {
		return rid.getRecord();
	}
  
	throw new ObjectNotFoundException(NdexClasses.ReifiedEdgeTerm, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例6: getCitationDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getCitationDocById (long id) throws ObjectNotFoundException {
	ORecordId rid =   (ORecordId)citationIdIdx.get( id ); 
    
	if ( rid != null) {
		return rid.getRecord();
	}
  
	throw new ObjectNotFoundException(NdexClasses.Citation, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例7: getSupportDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getSupportDocById (long id) throws ObjectNotFoundException {
	ORecordId rid =   (ORecordId)supportIdIdx.get( id ); 
    
	if ( rid != null) {
		return rid.getRecord();
	}
  
	throw new ObjectNotFoundException(NdexClasses.Citation, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:10,代码来源:BasicNetworkDAO.java

示例8: getNamespaceDocById

import com.orientechnologies.orient.core.id.ORecordId; //导入方法依赖的package包/类
protected ODocument getNamespaceDocById(long id) throws ObjectNotFoundException {
	ORecordId cIds =  (ORecordId) nsIdIdx.get( id ); 

	if ( cIds !=null)
		return cIds.getRecord();
	
	throw new ObjectNotFoundException(NdexClasses.Namespace, id);
}
 
开发者ID:ndexbio,项目名称:ndex-common,代码行数:9,代码来源:BasicNetworkDAO.java


注:本文中的com.orientechnologies.orient.core.id.ORecordId.getRecord方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。