org.mtzky.lucene.descriptor
インタフェース LucenePropertyDesc<E>

型パラメータ:
E - entity
すべてのスーパーインタフェース:
LucenePropertyConfig
既知の実装クラスの一覧:
AbstractPropertyDesc, BeanPropertyDesc, MapPropertyDesc

public interface LucenePropertyDesc<E>
extends LucenePropertyConfig

作成者:
mtzky

メソッドの概要
 Fieldable getField(E entity)
           
 Fieldable getFieldByValue(Object value)
           
 Term getTerm(E entity)
           
 Term getTermByValue(Object value)
           
 Object getValue(Fieldable field)
           
 void setField(E entity, Fieldable field)
           
 
インタフェース org.mtzky.lucene.descriptor.LucenePropertyConfig から継承されたメソッド
getAnalyzer, getFilters, getFormat, getIndex, getLuceneFieldStrategy, getMaxTokenCount, getName, getNormalizers, getStore, getTermVector, isId
 

メソッドの詳細

getField

Fieldable getField(E entity)
パラメータ:
entity -
戻り値:
NumericField if the property type is numeric, or Field

getFieldByValue

Fieldable getFieldByValue(Object value)
パラメータ:
value -
戻り値:
NumericField if the property type is numeric, or Field

setField

void setField(E entity,
              Fieldable field)
パラメータ:
entity -
field - Fieldable

getValue

Object getValue(Fieldable field)
パラメータ:
field - Fieldable

getTerm

Term getTerm(E entity)
パラメータ:
entity -
戻り値:
Term normalized by the property type

getTermByValue

Term getTermByValue(Object value)
パラメータ:
value -
戻り値:
Term normalized by the property type


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.