public class LocaleAttributeImpl extends org.apache.lucene.util.AttributeImpl implements LocaleAttribute
ParametricRangeQueryNodeProcessor
and must be defined in the QueryConfigHandler. This attribute tells
the processor what is the default Locale used to parse a date. LocaleAttribute,
Serialized Form| Constructor and Description |
|---|
LocaleAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
java.util.Locale |
getLocale() |
int |
hashCode() |
void |
setLocale(java.util.Locale locale) |
java.lang.String |
toString() |
public void setLocale(java.util.Locale locale)
setLocale in interface LocaleAttributepublic java.util.Locale getLocale()
getLocale in interface LocaleAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic boolean equals(java.lang.Object other)
equals in class org.apache.lucene.util.AttributeImplpublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeImplpublic java.lang.String toString()
toString in class org.apache.lucene.util.AttributeImplCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.