Class QueryNodeProcessorPipeline
A QueryNodeProcessorPipeline class should be used to build a query
node processor pipeline.
When a query node tree is processed using this class, it passes the query
node tree to each processor on the pipeline and the result from each
processor is passed to the next one, always following the order the
processors were on the pipeline.
When a QueryConfigHandler object is set on a
QueryNodeProcessorPipeline, it also takes care of setting this
QueryConfigHandler on all processor on pipeline.
Inheritance
System.Object
QueryNodeProcessorPipeline
Implements
System.Collections.IEnumerable
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)
System.Object.ToString()
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class QueryNodeProcessorPipeline : IQueryNodeProcessor, IList<IQueryNodeProcessor>, ICollection<IQueryNodeProcessor>, IEnumerable<IQueryNodeProcessor>, IEnumerable
Constructors
|
Improve this Doc
View Source
QueryNodeProcessorPipeline()
Constructs an empty query node processor pipeline.
Declaration
public QueryNodeProcessorPipeline()
|
Improve this Doc
View Source
QueryNodeProcessorPipeline(QueryConfigHandler)
Declaration
public QueryNodeProcessorPipeline(QueryConfigHandler queryConfigHandler)
Parameters
Properties
|
Improve this Doc
View Source
Count
System.Collections.Generic.ICollection<T>.Count
Declaration
public virtual int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsReadOnly
System.Collections.Generic.ICollection<T>.IsReadOnly
Declaration
public virtual bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[Int32]
System.Collections.Generic.IList<T>.Item[System.Int32]
Declaration
public virtual IQueryNodeProcessor this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(IQueryNodeProcessor)
System.Collections.Generic.ICollection<T>.Add(T)
Declaration
public virtual bool Add(IQueryNodeProcessor processor)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Clear()
System.Collections.Generic.ICollection<T>.Clear()
Declaration
public virtual void Clear()
|
Improve this Doc
View Source
Contains(IQueryNodeProcessor)
System.Collections.Generic.ICollection<T>.Contains(T)
Declaration
public virtual bool Contains(IQueryNodeProcessor item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Contains(Object)
Declaration
public virtual bool Contains(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CopyTo(IQueryNodeProcessor[], Int32)
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)
Declaration
public virtual void CopyTo(IQueryNodeProcessor[] array, int arrayIndex)
Parameters
|
Improve this Doc
View Source
GetEnumerator()
System.Collections.Generic.IEnumerable<T>.GetEnumerator()
Declaration
public virtual IEnumerator<IQueryNodeProcessor> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetQueryConfigHandler()
Declaration
public virtual QueryConfigHandler GetQueryConfigHandler()
Returns
See Also
|
Improve this Doc
View Source
GetRange(Int32, Int32)
Declaration
public virtual IList<IQueryNodeProcessor> GetRange(int index, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
count |
|
Returns
|
Improve this Doc
View Source
IndexOf(IQueryNodeProcessor)
System.Collections.Generic.IList<T>.IndexOf(T)
Declaration
public virtual int IndexOf(IQueryNodeProcessor o)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Insert(Int32, IQueryNodeProcessor)
Declaration
public virtual void Insert(int index, IQueryNodeProcessor item)
Parameters
|
Improve this Doc
View Source
Process(IQueryNode)
Declaration
public virtual IQueryNode Process(IQueryNode queryTree)
Parameters
Type |
Name |
Description |
IQueryNode |
queryTree |
the query node tree to be processed
|
Returns
Exceptions
Type |
Condition |
QueryNodeException |
if something goes wrong during the query node processing
|
See Also
|
Improve this Doc
View Source
Remove(IQueryNodeProcessor)
System.Collections.Generic.ICollection<T>.Remove(T)
Declaration
public virtual bool Remove(IQueryNodeProcessor o)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveAt(Int32)
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)
Declaration
public virtual void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
|
Improve this Doc
View Source
RemoveRange(Int32, Int32)
Declaration
public virtual void RemoveRange(int index, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int32 |
count |
|
|
Improve this Doc
View Source
Set(Int32, IQueryNodeProcessor)
Declaration
public virtual IQueryNodeProcessor Set(int index, IQueryNodeProcessor processor)
Parameters
Returns
|
Improve this Doc
View Source
SetQueryConfigHandler(QueryConfigHandler)
Declaration
public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler)
Parameters
Type |
Name |
Description |
QueryConfigHandler |
queryConfigHandler |
the query configuration handler to be set.
|
See Also
Explicit Interface Implementations
|
Improve this Doc
View Source
ICollection<IQueryNodeProcessor>.Add(IQueryNodeProcessor)
System.Collections.Generic.ICollection<T>.Add(T)
Declaration
void ICollection<IQueryNodeProcessor>.Add(IQueryNodeProcessor item)
Parameters
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable