org.mtzky.lucene.descriptor
クラス AbstractPropertyDesc<E>

java.lang.Object
  上位を拡張 org.mtzky.lucene.descriptor.AbstractPropertyDesc<E>
型パラメータ:
E - entity
すべての実装されたインタフェース:
LucenePropertyConfig, LucenePropertyDesc<E>
直系の既知のサブクラス:
BeanPropertyDesc, MapPropertyDesc

public abstract class AbstractPropertyDesc<E>
extends Object
implements LucenePropertyDesc<E>

作成者:
mtzky

コンストラクタの概要
AbstractPropertyDesc(LucenePropertyConfig config)
           
 
メソッドの概要
 Analyzer getAnalyzer()
           Analyzer to use for the specified field.
 Fieldable getFieldByValue(Object value)
           
 Constructor<? extends TokenFilter>[] getFilters()
           TokenFilters to use for the specified field.
 String getFormat()
           The specified field is treated as String forcibly if NOT empty.
 Field.Index getIndex()
           
 LuceneFieldStrategy getLuceneFieldStrategy()
           LuceneFieldStrategy to use for the specified field.
 int getMaxTokenCount()
           
 String getName()
           
 Constructor<? extends Reader>[] getNormalizers()
           Readers to use for the specified field.
 Field.Store getStore()
           
 Term getTermByValue(Object value)
           
 Field.TermVector getTermVector()
           
 Object getValue(Fieldable fieldable)
           
 boolean isId()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.mtzky.lucene.descriptor.LucenePropertyDesc から継承されたメソッド
getField, getTerm, setField
 

コンストラクタの詳細

AbstractPropertyDesc

public AbstractPropertyDesc(LucenePropertyConfig config)
メソッドの詳細

getFieldByValue

public Fieldable getFieldByValue(Object value)
定義:
インタフェース LucenePropertyDesc<E> 内の getFieldByValue
戻り値:
NumericField if the property type is numeric, or Field

getValue

public Object getValue(Fieldable fieldable)
定義:
インタフェース LucenePropertyDesc<E> 内の getValue
パラメータ:
fieldable - Fieldable

getTermByValue

public Term getTermByValue(Object value)
定義:
インタフェース LucenePropertyDesc<E> 内の getTermByValue
戻り値:
Term normalized by the property type

isId

public boolean isId()
定義:
インタフェース LucenePropertyConfig 内の isId
戻り値:
true if the specified field is ID.

getName

public String getName()
定義:
インタフェース LucenePropertyConfig 内の getName
戻り値:
The name of the specified field.

getStore

public Field.Store getStore()
定義:
インタフェース LucenePropertyConfig 内の getStore
戻り値:
The Field.Store of the specified field.

getIndex

public Field.Index getIndex()
定義:
インタフェース LucenePropertyConfig 内の getIndex
戻り値:
The Field.Index of the specified field.

getTermVector

public Field.TermVector getTermVector()
定義:
インタフェース LucenePropertyConfig 内の getTermVector
戻り値:
The Field.TermVector of the specified field.

getMaxTokenCount

public int getMaxTokenCount()
定義:
インタフェース LucenePropertyConfig 内の getMaxTokenCount
戻り値:
The maximum field token length, or 0 if unlimited

getFormat

public String getFormat()
インタフェース LucenePropertyConfig の記述:

The specified field is treated as String forcibly if NOT empty.

定義:
インタフェース LucenePropertyConfig 内の getFormat
戻り値:
field value format
関連項目:
LuceneDateStrategy

getLuceneFieldStrategy

public LuceneFieldStrategy getLuceneFieldStrategy()
インタフェース LucenePropertyConfig の記述:

LuceneFieldStrategy to use for the specified field. The class must be annotated with LuceneFieldStrategyType, and the constructor signature must be the following:

 (Lorg/mtzky/lucene/descriptor/LucenePropertyConfig;)V
 

定義:
インタフェース LucenePropertyConfig 内の getLuceneFieldStrategy
戻り値:
The LuceneFieldStrategy of the specified field.
関連項目:
LuceneFieldStrategyType

getAnalyzer

public Analyzer getAnalyzer()
インタフェース LucenePropertyConfig の記述:

Analyzer to use for the specified field. The constructor signature of this analyzer must be the following:

 (Lorg/apache/lucene/util/Version;)V
 or
 ()V
 

定義:
インタフェース LucenePropertyConfig 内の getAnalyzer
戻り値:
The Analyzer class of the specified field.
関連項目:
AnalyzerWrapper

getNormalizers

public Constructor<? extends Reader>[] getNormalizers()
インタフェース LucenePropertyConfig の記述:

Readers to use for the specified field. The constructor signature of these readers must be the following:

 (Ljava/io/Reader;)V
 

定義:
インタフェース LucenePropertyConfig 内の getNormalizers
戻り値:
Readers to use for the specified field
関連項目:
AnalyzerWrapper

getFilters

public Constructor<? extends TokenFilter>[] getFilters()
インタフェース LucenePropertyConfig の記述:

TokenFilters to use for the specified field. The constructor signature of these filters must be the following:

 (Lorg/apache/lucene/analysis/TokenStream;)V
 

定義:
インタフェース LucenePropertyConfig 内の getFilters
戻り値:
TokenFilters to use for the specified field
関連項目:
AnalyzerWrapper


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