Package com.yahoo.search.querytransform
Class BooleanSearcher.PredicateValueAttributeParser
- java.lang.Object
-
- com.yahoo.text.SimpleMapParser
-
- com.yahoo.search.querytransform.BooleanSearcher.PredicateValueAttributeParser
-
- Enclosing class:
- BooleanSearcher
public static class BooleanSearcher.PredicateValueAttributeParser extends com.yahoo.text.SimpleMapParser
-
-
Constructor Summary
Constructors Constructor Description PredicateValueAttributeParser(PredicateQueryItem item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAttribute(java.lang.String attribute, java.lang.String value)
Add an attribute without a subquery maskprotected void
addAttribute(java.lang.String attribute, java.lang.String value, java.math.BigInteger subQueryMask)
Add an attribute with a subquery maskprotected int
findEndOfValue()
protected void
handleKeyValue(java.lang.String attribute, java.lang.String value)
void
parse(java.lang.String s)
-
-
-
Constructor Detail
-
PredicateValueAttributeParser
public PredicateValueAttributeParser(PredicateQueryItem item)
-
-
Method Detail
-
addAttribute
protected void addAttribute(java.lang.String attribute, java.lang.String value)
Add an attribute without a subquery mask- Parameters:
attribute
- name of attributevalue
- value of attribute
-
addAttribute
protected void addAttribute(java.lang.String attribute, java.lang.String value, java.math.BigInteger subQueryMask)
Add an attribute with a subquery mask- Parameters:
attribute
- name of attributevalue
- value of attributesubQueryMask
- subquery mask for attribute (64-bit)
-
parse
public void parse(java.lang.String s)
- Overrides:
parse
in classcom.yahoo.text.SimpleMapParser
-
findEndOfValue
protected int findEndOfValue()
- Overrides:
findEndOfValue
in classcom.yahoo.text.SimpleMapParser
-
handleKeyValue
protected void handleKeyValue(java.lang.String attribute, java.lang.String value)
- Specified by:
handleKeyValue
in classcom.yahoo.text.SimpleMapParser
-
-