public class FieldDateResolutionMapAttributeImpl extends org.apache.lucene.util.AttributeImpl implements FieldDateResolutionMapAttribute
FieldDateResolutionFCListener.buildFieldConfig(org.apache.lucene.queryParser.core.config.FieldConfig)
Constructor and Description |
---|
FieldDateResolutionMapAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(Object other) |
Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> |
getFieldDateResolutionMap() |
int |
hashCode() |
void |
setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes) |
String |
toString() |
public void setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes)
setFieldDateResolutionMap
in interface FieldDateResolutionMapAttribute
dateRes
- a mapping from field name to its default boostpublic Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> getFieldDateResolutionMap()
getFieldDateResolutionMap
in interface FieldDateResolutionMapAttribute
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(Object other)
equals
in class org.apache.lucene.util.AttributeImpl
public int hashCode()
hashCode
in class org.apache.lucene.util.AttributeImpl
public String toString()
toString
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.