Class GroupQueryNode
A GroupQueryNode represents a location where the original user typed real parenthesis on the query string. This class is useful for queries like: a) a AND b OR c b) ( a AND b) OR c
Parenthesis might be used to define the boolean operation precedence.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class GroupQueryNode : QueryNode, IQueryNode
Constructors
| Improve this Doc View SourceGroupQueryNode(IQueryNode)
This IQueryNode is used to identify parenthesis on the original query string
Declaration
public GroupQueryNode(IQueryNode query)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | query |
Methods
| Improve this Doc View SourceCloneTree()
Declaration
public override IQueryNode CloneTree()
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourceGetChild()
Declaration
public virtual IQueryNode GetChild()
Returns
Type | Description |
---|---|
IQueryNode |
SetChild(IQueryNode)
Declaration
public virtual void SetChild(IQueryNode child)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | child |
ToQueryString(IEscapeQuerySyntax)
Declaration
public override string ToQueryString(IEscapeQuerySyntax escapeSyntaxParser)
Parameters
Type | Name | Description |
---|---|---|
IEscapeQuerySyntax | escapeSyntaxParser |
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |