Class LuceneMonthDayFieldCodec
java.lang.Object
org.hibernate.search.backend.lucene.types.codec.impl.AbstractLuceneNumericFieldCodec<MonthDay,Integer>
org.hibernate.search.backend.lucene.types.codec.impl.LuceneMonthDayFieldCodec
- All Implemented Interfaces:
LuceneFieldCodec<MonthDay,Integer>
public final class LuceneMonthDayFieldCodec
extends AbstractLuceneNumericFieldCodec<MonthDay,Integer>
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneMonthDayFieldCodec(Indexing indexing, DocValues docValues, Storage storage, MonthDay indexNullAsValue) -
Method Summary
Methods inherited from class org.hibernate.search.backend.lucene.types.codec.impl.AbstractLuceneNumericFieldCodec
addToDocument, isCompatibleWith
-
Constructor Details
-
LuceneMonthDayFieldCodec
-
-
Method Details
-
decode
Description copied from interface:LuceneFieldCodecExtract the value from the given stored field.Typically used in projections.
- Parameters:
field- The document field. Nevernull.- Returns:
- The decoded value.
-
raw
-
encode
Description copied from interface:LuceneFieldCodecEncode the given value.Useful for predicates and sorts in particular.
- Parameters:
value- The value to encode.
-
decode
-
getDomain
- Specified by:
getDomainin classAbstractLuceneNumericFieldCodec<MonthDay,Integer>
-
encodedType
- Returns:
- The type of the encoded value.
-