Class DateResolutionAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.queryParser.standard.config.DateResolutionAttributeImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ConfigAttribute
,DateResolutionAttribute
,org.apache.lucene.util.Attribute
@Deprecated public class DateResolutionAttributeImpl extends org.apache.lucene.util.AttributeImpl implements DateResolutionAttribute, ConfigAttribute
Deprecated.This attribute is used byParametricRangeQueryNodeProcessor
processor and must be defined in theQueryConfigHandler
. This attribute tells the processor whichDateTools.Resolution
to use when parsing the date.- See Also:
DateResolutionAttribute
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateResolutionAttributeImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clear()
Deprecated.void
copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.boolean
equals(Object other)
Deprecated.org.apache.lucene.document.DateTools.Resolution
getDateResolution()
Deprecated.int
hashCode()
Deprecated.void
setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
Deprecated.Sets the default date resolution used byRangeQueryNode
s for fields for which no specific date resolutions has been set.void
setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
setDateResolution
public void setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
Deprecated.Description copied from interface:DateResolutionAttribute
Sets the default date resolution used byRangeQueryNode
s for fields for which no specific date resolutions has been set. Field specific resolutions can be set with- Specified by:
setDateResolution
in interfaceDateResolutionAttribute
- Parameters:
dateResolution
- the default date resolution to set
-
getDateResolution
public org.apache.lucene.document.DateTools.Resolution getDateResolution()
Deprecated.- Specified by:
getDateResolution
in interfaceDateResolutionAttribute
-
clear
public void clear()
Deprecated.- Specified by:
clear
in classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.- Specified by:
copyTo
in classorg.apache.lucene.util.AttributeImpl
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classorg.apache.lucene.util.AttributeImpl
-
setQueryConfigHandler
public void setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.- Specified by:
setQueryConfigHandler
in interfaceConfigAttribute
-
-