public class TextPatternNot extends TextPatternCombiner
clauses
MAX_UNLIMITED
Constructor and Description |
---|
TextPatternNot(TextPattern clause) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
BLSpanQuery |
translate(QueryExecutionContext context)
Translate this TextPattern into a BLSpanQuery.
|
addClause, numberOfClauses, replaceClause
clausesToString
public TextPatternNot(TextPattern clause)
public BLSpanQuery translate(QueryExecutionContext context) throws InvalidQuery
TextPattern
translate
in class TextPatternCombiner
context
- query execution context to useRegexpTooLarge
- if a regular expression was too largeInvalidQuery
- if something else was wrong about the query (e.g. error in regex expression)public boolean equals(Object obj)
equals
in class TextPatternCombiner
public int hashCode()
hashCode
in class TextPatternCombiner
public String toString()
toString
in class TextPattern
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.