# Uses of Enum Class
org.apache.lucene.queries.spans.FilterSpans.AcceptStatus

Packages that use FilterSpans.AcceptStatus
Package
Description
org.apache.lucene.queries.spans
The calculus of spans.

- ## Uses of FilterSpans.AcceptStatus in org.apache.lucene.queries.spans

  Methods in org.apache.lucene.queries.spans that return FilterSpans.AcceptStatus
  Modifier and Type
  Method
  Description
  `protected abstract FilterSpans.AcceptStatus`
  FilterSpans.`accept(Spans candidate)`
  Returns YES if the candidate should be an accepted match, NO if it should not, and NO_MORE_IN_CURRENT_DOC if iteration should move on to the next document.
  `protected FilterSpans.AcceptStatus`
  SpanFirstQuery.`acceptPosition(Spans spans)`
  `protected abstract FilterSpans.AcceptStatus`
  SpanPositionCheckQuery.`acceptPosition(Spans spans)`
  Implementing classes are required to return whether the current position is a match for the passed in "match" `SpanQuery`.
  `protected FilterSpans.AcceptStatus`
  SpanPositionRangeQuery.`acceptPosition(Spans spans)`
  `static FilterSpans.AcceptStatus`
  FilterSpans.AcceptStatus.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static FilterSpans.AcceptStatus[]`
  FilterSpans.AcceptStatus.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.