public class DefaultOperatorAttributeImpl extends org.apache.lucene.util.AttributeImpl implements DefaultOperatorAttribute
GroupQueryNodeProcessor
processor and must
be defined in the QueryConfigHandler
. This attribute tells the
processor which is the default boolean operator when no operator is defined
between terms. DefaultOperatorAttribute
,
Serialized FormDefaultOperatorAttribute.Operator
Constructor and Description |
---|
DefaultOperatorAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
DefaultOperatorAttribute.Operator |
getOperator() |
int |
hashCode() |
void |
setOperator(DefaultOperatorAttribute.Operator operator) |
java.lang.String |
toString() |
public void setOperator(DefaultOperatorAttribute.Operator operator)
setOperator
in interface DefaultOperatorAttribute
public DefaultOperatorAttribute.Operator getOperator()
getOperator
in interface DefaultOperatorAttribute
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-2018 Apache Software Foundation. All Rights Reserved.