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 byParametricRangeQueryNodeProcessorprocessor and must be defined in theQueryConfigHandler. This attribute tells the processor whichDateTools.Resolutionto 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 voidclear()Deprecated.voidcopyTo(org.apache.lucene.util.AttributeImpl target)Deprecated.booleanequals(Object other)Deprecated.org.apache.lucene.document.DateTools.ResolutiongetDateResolution()Deprecated.inthashCode()Deprecated.voidsetDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)Deprecated.Sets the default date resolution used byRangeQueryNodes for fields for which no specific date resolutions has been set.voidsetQueryConfigHandler(AbstractQueryConfig config)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
setDateResolution
public void setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
Deprecated.Description copied from interface:DateResolutionAttributeSets the default date resolution used byRangeQueryNodes for fields for which no specific date resolutions has been set. Field specific resolutions can be set with- Specified by:
setDateResolutionin interfaceDateResolutionAttribute- Parameters:
dateResolution- the default date resolution to set
-
getDateResolution
public org.apache.lucene.document.DateTools.Resolution getDateResolution()
Deprecated.- Specified by:
getDateResolutionin interfaceDateResolutionAttribute
-
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
-
-