Show / Hide Table of Contents

    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
    StandardQueryNodeProcessorPipeline
    Implements
    IQueryNodeProcessor
    IList<IQueryNodeProcessor>
    Namespace: Lucene.Net.QueryParsers.Flexible.Core.Processors
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class QueryNodeProcessorPipeline : object, IQueryNodeProcessor, IList<IQueryNodeProcessor>

    Constructors

    | Improve this Doc View Source

    QueryNodeProcessorPipeline()

    Constructs an empty query node processor pipeline.

    Declaration
    public QueryNodeProcessorPipeline()
    | Improve this Doc View Source

    QueryNodeProcessorPipeline(QueryConfigHandler)

    Constructs with a QueryConfigHandler object.

    Declaration
    public QueryNodeProcessorPipeline(QueryConfigHandler queryConfigHandler)
    Parameters
    Type Name Description
    QueryConfigHandler queryConfigHandler

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public virtual int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public virtual bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public virtual IQueryNodeProcessor this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IQueryNodeProcessor

    Methods

    | Improve this Doc View Source

    Add(IQueryNodeProcessor)

    Declaration
    public virtual bool Add(IQueryNodeProcessor processor)
    Parameters
    Type Name Description
    IQueryNodeProcessor processor
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Clear()

    Declaration
    public virtual void Clear()
    | Improve this Doc View Source

    Contains(IQueryNodeProcessor)

    Declaration
    public virtual bool Contains(IQueryNodeProcessor item)
    Parameters
    Type Name Description
    IQueryNodeProcessor item
    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)

    Declaration
    public virtual void CopyTo(IQueryNodeProcessor[] array, int arrayIndex)
    Parameters
    Type Name Description
    IQueryNodeProcessor[] array
    System.Int32 arrayIndex
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public virtual IEnumerator<IQueryNodeProcessor> GetEnumerator()
    Returns
    Type Description
    IEnumerator<IQueryNodeProcessor>
    | Improve this Doc View Source

    GetQueryConfigHandler()

    For reference about this method check: GetQueryConfigHandler().

    Declaration
    public virtual QueryConfigHandler GetQueryConfigHandler()
    Returns
    Type Description
    QueryConfigHandler

    QueryConfigHandler the query configuration handler to be set.

    See Also
    SetQueryConfigHandler(QueryConfigHandler)
    QueryConfigHandler
    | 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
    Type Description
    IList<IQueryNodeProcessor>
    | Improve this Doc View Source

    IndexOf(IQueryNodeProcessor)

    Declaration
    public virtual int IndexOf(IQueryNodeProcessor o)
    Parameters
    Type Name Description
    IQueryNodeProcessor o
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Insert(Int32, IQueryNodeProcessor)

    Declaration
    public virtual void Insert(int index, IQueryNodeProcessor item)
    Parameters
    Type Name Description
    System.Int32 index
    IQueryNodeProcessor item
    | Improve this Doc View Source

    Process(IQueryNode)

    For reference about this method check: Process(IQueryNode).

    Declaration
    public virtual IQueryNode Process(IQueryNode queryTree)
    Parameters
    Type Name Description
    IQueryNode queryTree

    the query node tree to be processed

    Returns
    Type Description
    IQueryNode
    Exceptions
    Type Condition
    QueryNodeException

    if something goes wrong during the query node processing

    See Also
    IQueryNode
    | Improve this Doc View Source

    Remove(IQueryNodeProcessor)

    Declaration
    public virtual bool Remove(IQueryNodeProcessor o)
    Parameters
    Type Name Description
    IQueryNodeProcessor o
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RemoveAt(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
    Type Name Description
    System.Int32 index
    IQueryNodeProcessor processor
    Returns
    Type Description
    IQueryNodeProcessor
    | Improve this Doc View Source

    SetQueryConfigHandler(QueryConfigHandler)

    For reference about this method check: SetQueryConfigHandler(QueryConfigHandler).

    Declaration
    public virtual void SetQueryConfigHandler(QueryConfigHandler queryConfigHandler)
    Parameters
    Type Name Description
    QueryConfigHandler queryConfigHandler

    the query configuration handler to be set.

    See Also
    GetQueryConfigHandler()
    QueryConfigHandler

    Implements

    IQueryNodeProcessor
    IList<>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)