Class BooleanSearcher.PredicateValueAttributeParser

  • Enclosing class:
    BooleanSearcher

    public static class BooleanSearcher.PredicateValueAttributeParser
    extends com.yahoo.text.SimpleMapParser
    • 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 mask
      protected void addAttribute​(java.lang.String attribute, java.lang.String value, java.math.BigInteger subQueryMask)
      Add an attribute with a subquery mask
      protected int findEndOfValue()  
      protected void handleKeyValue​(java.lang.String attribute, java.lang.String value)  
      void parse​(java.lang.String s)  
      • Methods inherited from class com.yahoo.text.SimpleMapParser

        consumeValue, findEndOfKey, string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 attribute
        value - 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 attribute
        value - value of attribute
        subQueryMask - subquery mask for attribute (64-bit)
      • parse

        public void parse​(java.lang.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​(java.lang.String attribute,
                                      java.lang.String value)
        Specified by:
        handleKeyValue in class com.yahoo.text.SimpleMapParser