public class DeleteByQueryLuceneWork extends LuceneWork
Constructor and Description |
---|
DeleteByQueryLuceneWork(IndexedTypeIdentifier typeIdentifier,
DeletionQuery deletionQuery) |
DeleteByQueryLuceneWork(String tenantId,
IndexedTypeIdentifier typeIdentifier,
DeletionQuery deletionQuery) |
Modifier and Type | Method and Description |
---|---|
<P,R> R |
acceptIndexWorkVisitor(IndexWorkVisitor<P,R> visitor,
P p)
Accepts the given visitor by dispatching the correct visit method for the specific
LuceneWork sub-type. |
DeletionQuery |
getDeletionQuery() |
String |
toString() |
getDocument, getEntityClass, getEntityType, getFieldToAnalyzerMap, getId, getIdInString, getTenantId
public DeleteByQueryLuceneWork(IndexedTypeIdentifier typeIdentifier, DeletionQuery deletionQuery)
public DeleteByQueryLuceneWork(String tenantId, IndexedTypeIdentifier typeIdentifier, DeletionQuery deletionQuery)
public DeletionQuery getDeletionQuery()
public <P,R> R acceptIndexWorkVisitor(IndexWorkVisitor<P,R> visitor, P p)
LuceneWork
LuceneWork
sub-type.acceptIndexWorkVisitor
in class LuceneWork
P
- Context parameter type expected by a specific visitorR
- Return type provided by a specific visitorvisitor
- the visitor to acceptp
- a visitor-specific context parameternull
if this visitor doesn't return a resultCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.