org.mtzky.lucene.descriptor
クラス BeanDocumentDesc<E>
java.lang.Object
org.mtzky.lucene.descriptor.AbstractLuceneDocumentDesc<E>
org.mtzky.lucene.descriptor.BeanDocumentDesc<E>
- すべての実装されたインタフェース:
- LuceneDocumentDesc<E>
public class BeanDocumentDesc<E>
- extends AbstractLuceneDocumentDesc<E>
Bean class descriptor for LuceneIndex.
- 作成者:
- mtzky
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_STRATEGY_FACTORY
protected static final LuceneFieldStrategyFactory DEFAULT_STRATEGY_FACTORY
BeanDocumentDesc
public BeanDocumentDesc(Class<E> beanClass)
- パラメータ:
beanClass -
BeanDocumentDesc
public BeanDocumentDesc(Class<E> beanClass,
LuceneFieldStrategyFactory strategyFactory)
- パラメータ:
beanClass - strategyFactory - LuceneFieldStrategyFactory
BeanDocumentDesc
public BeanDocumentDesc(Class<E> beanClass,
BeanPropertyConfig... configs)
- パラメータ:
beanClass - configs -
BeanDocumentDesc
public BeanDocumentDesc(Class<E> beanClass,
LuceneFieldStrategyFactory strategyFactory,
BeanPropertyConfig... configs)
- パラメータ:
beanClass - strategyFactory - LuceneFieldStrategyFactoryconfigs -
createDocument
public Document createDocument(E bean)
- インタフェース
LuceneDocumentDesc の記述:
Creates Document from entity.
- 戻り値:
Document
createEntity
public E createEntity(Document document)
- インタフェース
LuceneDocumentDesc の記述:
Creates entity from Document.
- 戻り値:
entity
Copyright (C) 2010-2011 Mtzky. AllRights Reserved.