org.apache.lucene.queryParser.standard.config
public class RangeCollatorAttributeImpl extends org.apache.lucene.util.AttributeImpl implements RangeCollatorAttribute
ParametricRangeQueryNodeProcessor
processor
and must be defined in the QueryConfigHandler
. This attribute tells
the processor which Collator
should be used for a
TermRangeQuery
RangeCollatorAttribute
,
Serialized FormConstructor and Description |
---|
RangeCollatorAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
java.text.Collator |
getRangeCollator() |
int |
hashCode() |
void |
setDateResolution(java.text.Collator rangeCollator) |
java.lang.String |
toString() |
public void setDateResolution(java.text.Collator rangeCollator)
setDateResolution
in interface RangeCollatorAttribute
public java.text.Collator getRangeCollator()
getRangeCollator
in interface RangeCollatorAttribute
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-2014 Apache Software Foundation. All Rights Reserved.