本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}