# FieldDateResolutionMapAttributeImpl (Lucene 3.6.1 API)
Keywords: org.apache.lucene.queryParser.standard.config.FieldDateResolutionMapAttributeImpl class

## org.apache.lucene.queryParser.standard.config
Class FieldDateResolutionMapAttributeImpl

    java.lang.Object
      org.apache.lucene.util.AttributeImpl
          org.apache.lucene.queryParser.standard.config.FieldDateResolutionMapAttributeImpl

All Implemented Interfaces:
  Serializable, Cloneable, ConfigAttribute, FieldDateResolutionMapAttribute, org.apache.lucene.util.Attribute

Deprecated.

    @Deprecated
    public class FieldDateResolutionMapAttributeImpl

extends org.apache.lucene.util.AttributeImpl
implements FieldDateResolutionMapAttribute, ConfigAttribute

This attribute enables the user to define a default DateResolution per field. it's used by `FieldDateResolutionFCListener.buildFieldConfig(org.apache.lucene.queryParser.core.config.FieldConfig)`

See Also:
  `FieldDateResolutionMapAttribute`, Serialized Form

Field Summary

Fields inherited from class org.apache.lucene.util.AttributeImpl
`enableBackwards`

Constructor Summary
`FieldDateResolutionMapAttributeImpl()` Deprecated.

Method Summary
`void` `clear()` Deprecated.
`void` `copyTo(org.apache.lucene.util.AttributeImpl target)` Deprecated.
`boolean` `equals(Object other)` Deprecated.
`Map<CharSequence,org.apache.lucene.document.DateTools.Resolution>` `getFieldDateResolutionMap()` Deprecated.
`int` `hashCode()` Deprecated.
`void` `setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes)` Deprecated.
`void` `setQueryConfigHandler(AbstractQueryConfig config)` Deprecated.
`String` `toString()` Deprecated.

Methods inherited from class org.apache.lucene.util.AttributeImpl
`clone, reflectAsString, reflectWith`

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### FieldDateResolutionMapAttributeImpl

    public FieldDateResolutionMapAttributeImpl()

  Deprecated.

Method Detail

### setFieldDateResolutionMap

    public void setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes)

  Deprecated.
  Specified by:
    `setFieldDateResolutionMap` in interface `FieldDateResolutionMapAttribute`
  Parameters:
    `dateRes` - a mapping from field name to its default boost

### getFieldDateResolutionMap

    public Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> getFieldDateResolutionMap()

  Deprecated.
  Specified by:
    `getFieldDateResolutionMap` in interface `FieldDateResolutionMapAttribute`

### clear

    public void clear()

  Deprecated.
  Specified by:
    `clear` in class `org.apache.lucene.util.AttributeImpl`

### copyTo

    public void copyTo(org.apache.lucene.util.AttributeImpl target)

  Deprecated.
  Specified by:
    `copyTo` in class `org.apache.lucene.util.AttributeImpl`

### equals

    public boolean equals(Object other)

  Deprecated.
  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Deprecated.
  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Deprecated.
  Overrides:
    `toString` in class `org.apache.lucene.util.AttributeImpl`

### setQueryConfigHandler

    public void setQueryConfigHandler(AbstractQueryConfig config)

  Deprecated.
  Specified by:
    `setQueryConfigHandler` in interface `ConfigAttribute`