org.mtzky.lucene.type
クラス LuceneLongStrategy
java.lang.Object
org.mtzky.lucene.type.LuceneLongStrategy
- すべての実装されたインタフェース:
- LuceneFieldStrategy
public class LuceneLongStrategy
- extends Object
- implements LuceneFieldStrategy
- 作成者:
- mtzky
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneLongStrategy
public LuceneLongStrategy(LucenePropertyConfig config)
- パラメータ:
config -
getField
public Fieldable getField(Object value)
- 定義:
- インタフェース
LuceneFieldStrategy 内の getField
- 戻り値:
NumericField if the property type is numeric, or
Field
getValue
public <T> T getValue(Fieldable field)
- インタフェース
LuceneFieldStrategy の記述:
Gets a value to set to the entity.
- 定義:
- インタフェース
LuceneFieldStrategy 内の getValue
- 型パラメータ:
T - type- パラメータ:
field - Fieldable
- 戻り値:
value
getTerm
public Term getTerm(Object value)
- 定義:
- インタフェース
LuceneFieldStrategy 内の getTerm
- 戻り値:
Term normalized by type
toLong
protected long toLong(Object value)
- パラメータ:
value -
- 戻り値:
- value converted to
long
Copyright (C) 2010-2011 Mtzky. AllRights Reserved.