public interface DeletionQuery
Modifier and Type | Method and Description |
---|---|
int |
getQueryKey()
used to identify the type of query faster (no need for instanceof checks)
|
String[] |
serialize()
We are serializing to a String array here instead of a byte array since we don't want implementors to use the
standard Java Serialization API by mistake
|
Query |
toLuceneQuery(ScopedAnalyzer analyzerForEntity)
converts this DeletionQuery to a Lucene Query
|
int getQueryKey()
Query toLuceneQuery(ScopedAnalyzer analyzerForEntity)
analyzerForEntity
- the analyzer to be used for this queryQuery
String[] serialize()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved