DummyQueryNodeBuilder (Lucene 3.6.2 API)
Keywords: org.apache.lucene.queryParser.standard.builders.DummyQueryNodeBuilder class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.queryParser.standard.builders
Class DummyQueryNodeBuilder

    java.lang.Object
      org.apache.lucene.queryParser.standard.builders.DummyQueryNodeBuilder

All Implemented Interfaces:
  QueryBuilder, StandardQueryBuilder

    public class DummyQueryNodeBuilder

extends Object
implements StandardQueryBuilder

This builder does nothing. Commonly used for `QueryNode` objects that are built by its parent's builder.

Constructor Summary
`DummyQueryNodeBuilder()` Constructs a `DummyQueryNodeBuilder` object.

Method Summary
`org.apache.lucene.search.TermQuery` | `build(QueryNode queryNode)` Always return `null`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DummyQueryNodeBuilder

    public DummyQueryNodeBuilder()

  Constructs a `DummyQueryNodeBuilder` object.

Method Detail

### build

    public org.apache.lucene.search.TermQuery build(QueryNode queryNode)
                                             throws QueryNodeException

  Always return `null`. return `null`

  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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD