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
|
org.apache.lucene.search.Query |
toLuceneQuery(DocumentBuilderIndexedEntity documentBuilder)
converts this DeletionQuery to a Lucene Query
|
int getQueryKey()
org.apache.lucene.search.Query toLuceneQuery(DocumentBuilderIndexedEntity documentBuilder)
documentBuilder
- the document builder of this entityQuery
String[] serialize()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.