org.apache.lucene.queryParser.standard.config
Class MultiFieldAttributeImpl

java.lang.Object
  extended by org.apache.lucene.util.AttributeImpl
      extended by org.apache.lucene.queryParser.standard.config.MultiFieldAttributeImpl
All Implemented Interfaces:
Serializable, Cloneable, MultiFieldAttribute, org.apache.lucene.util.Attribute

public class MultiFieldAttributeImpl
extends org.apache.lucene.util.AttributeImpl
implements MultiFieldAttribute

This attribute is used by MultiFieldQueryNodeProcessor processor and must be defined in the QueryConfigHandler. This attribute tells the processor to which fields the terms in the query should be expanded.

See Also:
MultiFieldAttribute, Serialized Form

Constructor Summary
MultiFieldAttributeImpl()
           
 
Method Summary
 void clear()
           
 void copyTo(org.apache.lucene.util.AttributeImpl target)
           
 boolean equals(Object other)
           
 CharSequence[] getFields()
           
 int hashCode()
           
 void setFields(CharSequence[] fields)
           
 String toString()
           
 
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiFieldAttributeImpl

public MultiFieldAttributeImpl()
Method Detail

setFields

public void setFields(CharSequence[] fields)
Specified by:
setFields in interface MultiFieldAttribute

getFields

public CharSequence[] getFields()
Specified by:
getFields in interface MultiFieldAttribute

clear

public void clear()
Specified by:
clear in class org.apache.lucene.util.AttributeImpl

copyTo

public void copyTo(org.apache.lucene.util.AttributeImpl target)
Specified by:
copyTo in class org.apache.lucene.util.AttributeImpl

equals

public boolean equals(Object other)
Specified by:
equals in class org.apache.lucene.util.AttributeImpl

hashCode

public int hashCode()
Specified by:
hashCode in class org.apache.lucene.util.AttributeImpl

toString

public String toString()
Overrides:
toString in class org.apache.lucene.util.AttributeImpl


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.