Class LocaleAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.queryParser.standard.config.LocaleAttributeImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,ConfigAttribute,LocaleAttribute,org.apache.lucene.util.Attribute
@Deprecated public class LocaleAttributeImpl extends org.apache.lucene.util.AttributeImpl implements LocaleAttribute, ConfigAttribute
Deprecated.This attribute is used by processorParametricRangeQueryNodeProcessorand must be defined in theQueryConfigHandler. This attribute tells the processor what is the defaultLocaleused to parse a date.- See Also:
LocaleAttribute, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocaleAttributeImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()Deprecated.voidcopyTo(org.apache.lucene.util.AttributeImpl target)Deprecated.booleanequals(Object other)Deprecated.LocalegetLocale()Deprecated.inthashCode()Deprecated.voidsetLocale(Locale locale)Deprecated.voidsetQueryConfigHandler(AbstractQueryConfig config)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
setLocale
public void setLocale(Locale locale)
Deprecated.- Specified by:
setLocalein interfaceLocaleAttribute
-
getLocale
public Locale getLocale()
Deprecated.- Specified by:
getLocalein interfaceLocaleAttribute
-
clear
public void clear()
Deprecated.- Specified by:
clearin classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.- Specified by:
copyToin classorg.apache.lucene.util.AttributeImpl
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classorg.apache.lucene.util.AttributeImpl
-
setQueryConfigHandler
public void setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.- Specified by:
setQueryConfigHandlerin interfaceConfigAttribute
-
-