org.apache.lucene.queryparser.flexible.standard.builders

## Class PhraseQueryNodeBuilder

- java.lang.Object
- - org.apache.lucene.queryparser.flexible.standard.builders.PhraseQueryNodeBuilder

- All Implemented Interfaces:
    QueryBuilder, StandardQueryBuilder

      public class PhraseQueryNodeBuilder
      extends Object
      implements StandardQueryBuilder

  Builds a `PhraseQuery` object from a `TokenizedPhraseQueryNode` object.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PhraseQueryNodeBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Query` | `build(QueryNode queryNode)` Builds some kind of object from a query tree.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PhraseQueryNodeBuilder

          public PhraseQueryNodeBuilder()

  - ### Method Detail

    - #### build

          public Query build(QueryNode queryNode)
                      throws QueryNodeException

      Description copied from interface: `QueryBuilder`
      Builds some kind of object from a query tree.
      Specified by:
        `build` in interface `QueryBuilder`
      Specified by:
        `build` in interface `StandardQueryBuilder`
      Parameters:
        `queryNode` - the query tree root node
      Returns:
        some object generated from the query tree
      Throws:
        `QueryNodeException`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.