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 FormConstructor 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 LocaleAttribute
public java.util.Locale getLocale()
getLocale
in interface LocaleAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public boolean equals(java.lang.Object other)
equals
in class org.apache.lucene.util.AttributeImpl
public int hashCode()
hashCode
in class org.apache.lucene.util.AttributeImpl
public java.lang.String toString()
toString
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.