public class TextPatternSequence extends TextPatternAndNot
exclude, include
MAX_UNLIMITED
Constructor and Description |
---|
TextPatternSequence(TextPattern... clauses) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
BLSpanQuery |
translate(QueryExecutionContext context)
Translate this TextPattern into a BLSpanQuery.
|
clausesToString
public TextPatternSequence(TextPattern... clauses)
public BLSpanQuery translate(QueryExecutionContext context) throws InvalidQuery
TextPattern
translate
in class TextPatternAndNot
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 TextPatternAndNot
public int hashCode()
hashCode
in class TextPatternAndNot
public String toString()
toString
in class TextPatternAndNot
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.