SpanBuilderBase (Lucene 10.5.1 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.xml.builders, class: SpanBuilderBase

Package org.apache.lucene.queryparser.xml.builders

# Class SpanBuilderBase

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

All Implemented Interfaces:
  `SpanQueryBuilder`, `QueryBuilder`

Direct Known Subclasses:
  `BoostingTermBuilder`, `SpanFirstBuilder`, `SpanNearBuilder`, `SpanNotBuilder`, `SpanOrBuilder`, `SpanOrTermsBuilder`, `SpanPositionRangeBuilder`, `SpanTermBuilder`

public abstract class SpanBuilderBase extends Object implements SpanQueryBuilder
Base class for building `SpanQuery`s

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SpanBuilderBase()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Query`
  `getQuery(Element e)`

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

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

  ### Methods inherited from interface org.apache.lucene.queryparser.xml.builders.SpanQueryBuilder

  `getSpanQuery`

- ## Constructor Details

  - ### SpanBuilderBase

    public SpanBuilderBase()

- ## Method Details

  - ### getQuery

    public Query getQuery(Element e) throws ParserException
    Specified by:
      `getQuery` in interface `QueryBuilder`
    Throws:
      `ParserException`