Class WildcardQueryNode

    • Constructor Detail

      • WildcardQueryNode

        public WildcardQueryNode​(java.lang.CharSequence field,
                                 java.lang.CharSequence text,
                                 int begin,
                                 int end)
        Parameters:
        field - - field name
        text - - value that contains one or more wild card characters (? or *)
        begin - - position in the query string
        end - - position in the query string
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from class: QueryNodeImpl
        Every implementation of this class should return pseudo xml like this: For FieldQueryNode: <field start='1' end='2' field='subject' text='foo'/>
        Specified by:
        toString in interface QueryNode
        Overrides:
        toString in class FieldQueryNode
        See Also:
        QueryNode.toString()
      • cloneTree

        public WildcardQueryNode cloneTree()
                                    throws java.lang.CloneNotSupportedException
        Description copied from interface: QueryNode
        Recursive clone the QueryNode tree The tags are not copied to the new tree when you call the cloneTree() method
        Specified by:
        cloneTree in interface QueryNode
        Overrides:
        cloneTree in class FieldQueryNode
        Returns:
        the cloned tree
        Throws:
        java.lang.CloneNotSupportedException