|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.Impl.helpers.CodeToReturn
org.LexGrid.LexBIG.Impl.helpers.lazyloading.AbstractLazyLoadableCodeToReturn
public abstract class AbstractLazyLoadableCodeToReturn
The Class LazyLoadableCodeToReturn.
Constructor Summary | |
---|---|
AbstractLazyLoadableCodeToReturn()
Instantiates a new lazy loadable code to return. |
|
AbstractLazyLoadableCodeToReturn(float score,
int documentId)
Instantiates a new lazy loadable code to return. |
|
AbstractLazyLoadableCodeToReturn(org.apache.lucene.search.ScoreDoc scoreDoc)
Instantiates a new lazy loadable code to return. |
Method Summary | |
---|---|
protected abstract org.apache.lucene.document.Document |
buildDocument()
|
void |
compact()
|
protected abstract void |
doCompact()
|
int |
getDocumentId()
Gets the document id. |
protected EntityIndexService |
getEntityIndexService()
|
protected SystemResourceService |
getSystemResourceService()
|
void |
hydrate()
Hydrate. |
boolean |
isHydrated()
Checks if is hydrated. |
void |
setDocumentId(int documentId)
Sets the document id. |
Methods inherited from class org.LexGrid.LexBIG.Impl.helpers.CodeToReturn |
---|
equals, getCode, getEntityDescription, getEntityTypes, getEntityUid, getNamespace, getScore, getUri, getVersion, hashCode, setCode, setEntityDescription, setEntityTypes, setEntityUid, setNamespace, setScore, setUri, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractLazyLoadableCodeToReturn()
public AbstractLazyLoadableCodeToReturn(org.apache.lucene.search.ScoreDoc scoreDoc)
scoreDoc
- the score docinternalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version stringpublic AbstractLazyLoadableCodeToReturn(float score, int documentId)
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version stringscore
- the scoredocumentId
- the document idMethod Detail |
---|
public void compact()
compact
in class CodeToReturn
protected abstract void doCompact()
public void hydrate() throws java.lang.Exception
java.lang.Exception
- the exceptionprotected abstract org.apache.lucene.document.Document buildDocument() throws java.lang.Exception
java.lang.Exception
protected EntityIndexService getEntityIndexService()
protected SystemResourceService getSystemResourceService()
public boolean isHydrated()
public int getDocumentId()
public void setDocumentId(int documentId)
documentId
- the new document id
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |