Class BooleanSearcher.PredicateValueAttributeParser

  • Enclosing class:
    BooleanSearcher

    public static class BooleanSearcher.PredicateValueAttributeParser
    extends com.yahoo.text.SimpleMapParser
    • Constructor Detail

      • PredicateValueAttributeParser

        public PredicateValueAttributeParser​(PredicateQueryItem item)
    • Method Detail

      • addAttribute

        protected void addAttribute​(String attribute,
                                    String value)
        Add an attribute without a subquery mask
        Parameters:
        attribute - name of attribute
        value - value of attribute
      • addAttribute

        protected void addAttribute​(String attribute,
                                    String value,
                                    BigInteger subQueryMask)
        Add an attribute with a subquery mask
        Parameters:
        attribute - name of attribute
        value - value of attribute
        subQueryMask - subquery mask for attribute (64-bit)
      • parse

        public void parse​(String s)
        Overrides:
        parse in class com.yahoo.text.SimpleMapParser
      • findEndOfValue

        protected int findEndOfValue()
        Overrides:
        findEndOfValue in class com.yahoo.text.SimpleMapParser
      • handleKeyValue

        protected void handleKeyValue​(String attribute,
                                      String value)
        Specified by:
        handleKeyValue in class com.yahoo.text.SimpleMapParser