org.lexevs.dao.index.lucene.v2009.entity
Class LuceneEntity2009Dao

java.lang.Object
  extended by org.lexevs.dao.index.access.AbstractBaseIndexDao
      extended by org.lexevs.dao.index.lucene.AbstractBaseLuceneIndexTemplateDao
          extended by org.lexevs.dao.index.lucene.v2010.entity.LuceneEntityDao
              extended by org.lexevs.dao.index.lucene.v2009.entity.LuceneEntity2009Dao
All Implemented Interfaces:
EntityDao, LexEvsIndexFormatVersionAwareDao

public class LuceneEntity2009Dao
extends LuceneEntityDao
implements EntityDao

The Class LuceneEntity2009Dao.

Author:
Kevin Peterson

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lexevs.dao.index.lucene.v2010.entity.LuceneEntityDao
LuceneEntityDao.BitSetOp
 
Field Summary
static LexEvsIndexFormatVersion supportedIndexVersion2009
          The supported index version2009.
 
Fields inherited from class org.lexevs.dao.index.lucene.v2010.entity.LuceneEntityDao
supportedIndexVersion2010
 
Constructor Summary
LuceneEntity2009Dao()
           
 
Method Summary
 java.util.List<LexEvsIndexFormatVersion> doGetSupportedLexEvsIndexFormatVersions()
          Do get supported lex evs index format versions.
protected  org.apache.lucene.search.Filter getCodingSchemeFilterForCodingScheme(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion)
           
protected  LuceneIndexTemplate getLuceneIndexTemplate(java.lang.String codingSchemeUri, java.lang.String version)
           
 org.apache.lucene.search.Query getMatchAllDocsQuery(java.lang.String uri, java.lang.String version)
           
 
Methods inherited from class org.lexevs.dao.index.lucene.v2010.entity.LuceneEntityDao
addDocuments, buildScoreDocs, deleteDocuments, deleteDocuments, getBoundaryDocsHitAsAWholeFilter, getCodingSchemeFilter, getCommonLuceneIndexTemplate, getDocumentById, getDocumentById, getIndexName, getLuceneIndexTemplate, optimizeIndex, query, query, query, query, setLuceneIndexTemplate
 
Methods inherited from class org.lexevs.dao.index.lucene.AbstractBaseLuceneIndexTemplateDao
createBoundaryDocFilter, getBoundaryDocFilterForCodingScheme, getBoundaryDocFilterForCodingScheme, getCodingSchemeFilterForCodingScheme, getIndexRegistry, setIndexRegistry
 
Methods inherited from class org.lexevs.dao.index.access.AbstractBaseIndexDao
supportsLexEvsIndexFormatVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.lexevs.dao.index.access.entity.EntityDao
addDocuments, deleteDocuments, deleteDocuments, getBoundaryDocsHitAsAWholeFilter, getCodingSchemeFilter, getDocumentById, getDocumentById, getIndexName, optimizeIndex, query, query, query
 
Methods inherited from interface org.lexevs.dao.index.access.LexEvsIndexFormatVersionAwareDao
supportsLexEvsIndexFormatVersion
 

Field Detail

supportedIndexVersion2009

public static LexEvsIndexFormatVersion supportedIndexVersion2009
The supported index version2009.

Constructor Detail

LuceneEntity2009Dao

public LuceneEntity2009Dao()
Method Detail

getMatchAllDocsQuery

public org.apache.lucene.search.Query getMatchAllDocsQuery(java.lang.String uri,
                                                           java.lang.String version)
Specified by:
getMatchAllDocsQuery in interface EntityDao
Overrides:
getMatchAllDocsQuery in class LuceneEntityDao

doGetSupportedLexEvsIndexFormatVersions

public java.util.List<LexEvsIndexFormatVersion> doGetSupportedLexEvsIndexFormatVersions()
Description copied from class: AbstractBaseIndexDao
Do get supported lex evs index format versions.

Overrides:
doGetSupportedLexEvsIndexFormatVersions in class LuceneEntityDao
Returns:
the list< lex evs index format version>

getCodingSchemeFilterForCodingScheme

protected org.apache.lucene.search.Filter getCodingSchemeFilterForCodingScheme(java.lang.String codingSchemeUri,
                                                                               java.lang.String codingSchemeVersion)
Overrides:
getCodingSchemeFilterForCodingScheme in class AbstractBaseLuceneIndexTemplateDao

getLuceneIndexTemplate

protected LuceneIndexTemplate getLuceneIndexTemplate(java.lang.String codingSchemeUri,
                                                     java.lang.String version)
Overrides:
getLuceneIndexTemplate in class LuceneEntityDao

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.