Class AbstractRangeQueryNode<T>
This class should be extended by nodes intending to represent range queries.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class AbstractRangeQueryNode<T> : QueryNode, IAbstractRangeQueryNode, IRangeQueryNode<IFieldableNode>, IRangeQueryNode, IFieldableNode, IQueryNode where T : IFieldableNode
  Type Parameters
| Name | Description | 
|---|---|
| T | the type of the range query bounds (lower and upper)  | 
      
Constructors
| Improve this Doc View SourceAbstractRangeQueryNode()
Constructs an AbstractRangeQueryNode<T>, it should be invoked only by its extenders.
Declaration
protected AbstractRangeQueryNode()
  Properties
| Improve this Doc View SourceField
Gets or Sets the field associated with this node.
Declaration
public virtual string Field { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
See Also
| Improve this Doc View SourceIsLowerInclusive
Gets whether the lower bound is inclusive or exclusive.
Declaration
public virtual bool IsLowerInclusive { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
true if the lower bound is inclusive, otherwise, false
IsUpperInclusive
Gets whether the upper bound is inclusive or exclusive.
Declaration
public virtual bool IsUpperInclusive { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
true if the upper bound is inclusive, otherwise, false
LowerBound
Gets the lower bound node.
Declaration
public virtual IFieldableNode LowerBound { get; }
  Property Value
| Type | Description | 
|---|---|
| IFieldableNode | 
UpperBound
Gets the upper bound node.
Declaration
public virtual IFieldableNode UpperBound { get; }
  Property Value
| Type | Description | 
|---|---|
| IFieldableNode | 
Methods
| Improve this Doc View SourceSetBounds(T, T, Boolean, Boolean)
Sets the lower and upper bounds.
Declaration
public virtual void SetBounds(T lower, T upper, bool lowerInclusive, bool upperInclusive)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | lower | the lower bound,   | 
      
| T | upper | the upper bound,   | 
      
| System.Boolean | lowerInclusive | 
  | 
      
| System.Boolean | upperInclusive | 
  | 
      
See Also
| Improve this Doc View SourceToQueryString(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 |