org.apache.lucene.queryparser.xml.builders

## Class SpanFirstBuilder

- java.lang.Object
- - org.apache.lucene.queryparser.xml.builders.SpanBuilderBase
  - - org.apache.lucene.queryparser.xml.builders.SpanFirstBuilder

- All Implemented Interfaces:
    SpanQueryBuilder, QueryBuilder

      public class SpanFirstBuilder
      extends SpanBuilderBase

  Builder for `SpanFirstQuery`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpanFirstBuilder(SpanQueryBuilder factory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SpanQuery` | `getSpanQuery(Element e)`

    - ### Methods inherited from class org.apache.lucene.queryparser.xml.builders.SpanBuilderBase

      `getQuery`

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

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

- - ### Constructor Detail

    - #### SpanFirstBuilder

          public SpanFirstBuilder(SpanQueryBuilder factory)

  - ### Method Detail

    - #### getSpanQuery

          public SpanQuery getSpanQuery(Element e)
                                 throws ParserException

      Throws:
        `ParserException`

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